Red Hat Bugzilla – Bug 249037
rsyslog shows newlines at the ends of messages
Last modified: 2007-11-30 17:12:10 EST
Some of my syslog messages just started showing "#012" at the end of them. I
suspect this is because the programs calling the messages are sticking newlines
at the end of them. sysklogd stripped these off but rsyslog apparently doesn't.
I think it should, both for compatibility with sysklogd and because it makes sense.
That's probably a config line issue. I can not directly mangle the files on
reception, because that would break compatibility with current IETF
standardization efforts. However, the templates should take care of this problem
- maybe I missed something there. Could you post your (r)syslog.conf?
I've tackled this beast in a different way. There is a new config directive
The default is on. If we run into trouble with IETF movements, it can always be
turned off (this is most probably a problem with syslog-sign only). The current
handling (even on) is in sync with what -syslog-protocol specifies. Will be part
upstream version 1.17.2 was just built, could you test it please.