[syslog-ng]template() buggy for program()?

Balazs Scheidler syslog-ng@lists.balabit.hu
Sat, 20 Mar 2004 17:03:04 +0100


2004-03-19, p keltezéssel 15:42-kor Loic Minier ezt írta:
>    Hi,
> 
>  My Perl program launched by syslog-ng with a program() destination
>  receives logs in this form:
>  "<182>Mar 19 14:35:00 met-ixb postfix/smtpd[3234]: connect from l
>  ocalhost[127.0.0.1]"
> 
>  (ie the log starts with '<', '1', '8', '2', '>'.)
> 
>  The *same* log line appears as:
>  "Mar 19 14:35:00 hostname postfix/smtpd[3234]: connect from
>  localhost[127.0.0.1]"
> 
>  in a file destination.

>  I am confused about this behavior, is it normal for a program() output
>  to receive a syslog header?

hmm.. what is your syslog-ng version?


-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1