On Thu, 15.06.17 15:17, Renjith Vijayan (renjith...@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 _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel