Package: syslog-ng
Version: 1.6.5-2.2
Severity: wishlist

Hi.

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.

Regards,
Sven


-- System Information:
Debian Release: 3.1
  APT prefers stable
  APT policy: (990, 'stable'), (400, 'experimental'), (90, 'testing'), (50, 
'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11.12-incase
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages syslog-ng depends on:
ii  libc6                      2.3.2.ds1-22  GNU C Library: Shared libraries an
ii  util-linux                 2.12p-4sarge1 Miscellaneous system utilities

Versions of packages syslog-ng recommends:
ii  logrotate                     3.7-5      Log rotation utility

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to