[syslog-ng] log messages with LF

Balazs Scheidler bazsi at balabit.hu
Thu May 18 15:59:58 CEST 2006


On Wed, 2006-05-17 at 16:49 +0200, PREVOSTO, Laurent wrote:
> Hi,
>  
> i'm afraid this is some kind of FAQ but is there a way to have syslog-ng
> correctly prints logs messages that contain LF ('\n') ?
> It looks like they are wiped out in log_msg_parse() (logmsg.c) but is
> there a reason for such a behaviour ?

Sure, your messages file would become garbled, and LF is currently used
as a line terminator on TCP.

-- 
Bazsi



More information about the syslog-ng mailing list