[syslog-ng]No facility/level logged
Balazs Scheidler
syslog-ng@lists.balabit.hu
Tue, 27 Apr 2004 11:48:50 +0200
2004-04-27, k keltezéssel 09:56-kor me ezt írta:
> Hello,
> I've compiled syslog-ng for AIX 5L and want the facility/level information
> be logged to the log file(s) (I assume this shuold be included in the
> message part as described in the syslog protocol rfc). Well, my
> investigations lend me to the "syslog" subroutine, which is called during
> the log of an event. This concerns in fact the os and not really syslog-ng.
> But maybe someone had the same requirement...
>
> Thanks for any feedback!
probably you want to define a file template
destination d_messages { file("/var/log/messages" template("<$PRI> $DATE $HOST $MSG\n"); };
--
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1