> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:rsyslog- > [EMAIL PROTECTED] On Behalf Of Raoul Bhatia [IPAX] > Sent: Thursday, September 13, 2007 4:33 PM > To: rsyslog-users > Subject: Re: [rsyslog] some logged lines end with #000 > > Tomas Heinrich wrote: > > Hi, > > > > I've tinkered with this part of code recently, so it could be my > fault. > > > > But I wasn't able to reproduce it so far and a quick look through the > > source didn't show anything suspicious. > > Just a blind guess: > > $EscapeControlCharactersOnReceive off > > It will prevent control chars from being escaped but maybe the > problem > > will go away for now. > > this does not seem to help.
Ummm... should have thought about this. NULs are treated special. This is routed in the sysklogd code. Rsyslog uses standard C strings for the most part. Standard C strings are terminated as soon as the first NUL is detected. So we can not allow NULs to be part of the message. Thus, NUL is always escaped, no matter what the control character escape sequences is. Can you provide us with a debug log (rsyslogd -d -n) showing a message with #000 being processed? Rainer > > > You have a > > $IncludeConfig /etc/rsyslog.d/ > > in you conf file; is there any other part of configuration? > > no, there aren't any configuration files in there. see: > > [EMAIL PROTECTED] /var/log # find /etc/rsyslog.d -type f > > [EMAIL PROTECTED] /var/log # > > raoul > -- > ____________________________________________________________________ > DI (FH) Raoul Bhatia M.Sc. email. [EMAIL PROTECTED] > Technischer Leiter > > IPAX - Aloy Bhatia Hava OEG web. http://www.ipax.at > Barawitzkagasse 10/2/2/11 email. [EMAIL PROTECTED] > 1190 Wien tel. +43 1 3670030 > FN 277995t HG Wien fax. +43 1 3670030 15 > ____________________________________________________________________ > _______________________________________________ > rsyslog mailing list > http://lists.adiscon.net/mailman/listinfo/rsyslog _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog

