https://bugzilla.balabit.com/show_bug.cgi?id=11 Summary: Remove non-printable characters from log messages before writing them to disk Product: syslog-ng Version: 2.0.x Platform: PC URL: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=354108 OS/Version: Linux Status: NEW Severity: normal Priority: unspecified Component: syslog-ng AssignedTo: bazsi@balabit.hu ReportedBy: sasa@debian.org Type of the Report: enhancement Estimated Hours: 0.0
From bugs.debian.org:
Among others, Perl's Sys::Syslog sends message buffers containing non-printable characters (mainly NUL characters - \000) to the local syslog daemon. sysklogd stops writing messages at the first NUL character and is therefore mainly unaffected by this. syslog-ng however, saves the complete buffer to the logfile. This behaviour might be of use to some (especially with non-ASCII character sets), but for most of us, it isn't too nice because it makes grep'ing harder (grep complains about binary file). It would therefore be nice if syslog-ng could at least strip trailing NUL characters from incoming log messages. It might be even nicer if an option was introduced to remove or replace non-printable characters from log messages. -- Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.