Only the first line of a multiline watchdog message is added to the log file for syslog-ng OSE 3.4. Multiline support will be available in version 3.5: http://www.balabit.com/network-security/syslog-ng/opensource-logging-sys...
It's probably best to strip newlines by default and provide an option to leave them in.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | strip-newlines-2096037-1.patch | 679 bytes | kenneth.venken |
Comments
Comment #1
kenneth.venken commentedAttached is a simple solution.
Comment #2
damien_vancouver commentedHi Kenneth,
thanks for the patch! I will add the syslog_ng_strip_newlines option to the admin form settings and commit it to -dev for testing.
Comment #3
mpp commentedWe encountered the same issue with syslog (core).