[systemd-devel] [rsyslog] Rsyslog & newlines

Lennart Poettering lennart at poettering.net
Fri Jun 16 07:33:52 UTC 2017


On Thu, 15.06.17 15:17, Renjith Vijayan (renjithvjn at gmail.com) wrote:

> + Systemd-dev
> 
> Hi,
> 
> Does journal ignore the forwarding of logs ending with newline(\n) to
> rsyslog? In my system there are some logs send directly via
> sd_journal_send() API and ending with newline.
> These logs are present in journal, but not in /var/log/messages.
> 
> Rainer confirmed that rsyslog does accept logs with newline as seen in mail
> below. So is this the case where journal not forwarding the logs due to
> newline?

Note that the behaviour of journald regarding embedded newlines
changed a couple of times in the past. Have you tested this with a
current systemd version?

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list