[systemd-devel] [rsyslog] Rsyslog & newlines

Renjith Vijayan renjithvjn at gmail.com
Fri Jun 16 08:27:42 UTC 2017


Hi Lennart,

I tested this on Systemd v229 & observed this behavior.

Thanks,
RV

On Fri, Jun 16, 2017 at 1:03 PM, Lennart Poettering <lennart at poettering.net>
wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20170616/3e6e450b/attachment.html>


More information about the systemd-devel mailing list