No subject


Tue Sep 25 05:13:28 CEST 2007


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.


More information about the syslog-ng mailing list