[syslog-ng] Syslog-NG, log4j, tabs, whitespace, indent

John Skopis jskopis at backstopsolutions.com
Wed Dec 10 22:30:01 CET 2008


Hello,
I believe that the log4j SyslogAppender is sending logs to syslog-ng that begin with a '\t' (or four spaces).

The leading whitespace is trimmed either because it's not allowed per the syslog RFC, or for some other (hopefully) good reason.

Can I turn this behavior off?

an example would be a message:
Dec 10 16:17:52 testbox at java.lang.Thread.run(Thread.java:619)
which should be
Dec 10 16:17:52 testbox \tat java.lang.Thread.run(Thread.java:619)


Thanks,
John Skopis
Systems Administrator


More information about the syslog-ng mailing list