[syslog-ng]Pb with messages contain '\n'

Jerome Peducasse peducasse@echo.fr
Thu, 20 Jun 2002 12:58:14 +0200


Hello,

	When a message contains 2 chunks (or more) separated by '\n', next message losts its facility.level because it contains end of previous log.

For example:
jerome@peducasse:~/> logger -psyslog.debug "Test #1
> Test #2"
jerome@peducasse:~/> logger -psyslog.debug "Test #3"


Result is:
Jun 20 12:54:42 peducasse [syslog.debug] jerome jerome: Test #1
Jun 20 12:54:45 peducasse [user.notice] Test Test #2<47>Jun 20 12:54:45 jerome: Test #3
                                             ^^^^^^^^^^^->end of previous message


Thanks for your help.


-- 
Jerome Peducasse
Wanadoo Portails - Sophia Antipolis