[syslog-ng]Lost of facility/level

Jerome Peducasse peducasse@echo.fr
Thu, 18 Apr 2002 10:03:11 +0200


On Wed, Apr 17, 2002 at 10:52:50AM +0200, Balazs Scheidler wrote:
> > I find another case which create error: a log message is concatenate with second part of previous message.
> > 
> > Apr 17 09:59:13 crawler2.crawl.fr.ke.echo [user.notice]         root@crawler2.crawl.fr.ke.echo  root@crawler2.crawl.fr.ke.echo:/usr/local/src/bind-8.2.2-P7/src/bin/named<28>Apr 17 09:59:13 named[1029]: limit files set to fdlimit (8192)
> 
> there's a newline in the log message, which terminates a message.
> 
> > read(3, "<29>Apr 17 09:59:13 named[1029]: starting.  named 8.2.2-P7 Wed Jul 11 10:49:47 CEST 2001\n\troot@crawler2.crawl.fr.ke.echo:/usr/local/src/bind-8.2.2-P7/src/bin/named", 2048) = 163
>                                                                                                    ^^^^^
> -- 
> Bazsi

Isn't possible to use '\n' inside log message with syslog-ng without second part is logged with default facility/level (i.e user.notice) ?

Thanks.

-- 
Jerome Peducasse