[syslog-ng]No facility/level logged

me syslog-ng@lists.balabit.hu
Wed, 28 Apr 2004 14:29:25 +0200 (MEST)


Hi,

that will work for sure, as soon as I have compiled syslog-ng-1.9.1... Thank
you very much!

/me

> 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
> 
> 
> _______________________________________________
> syslog-ng maillist  -  syslog-ng@lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
> 

-- 
"Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen!
Jetzt aktivieren unter http://www.gmx.net/info