logo       

Re:Log prefix under Solaris: msg#00009

syslog-ng

Subject: Re:Log prefix under Solaris

You can disable solaris message ID generation editing the file
/kernel/drv/log.conf

Just set msgid=0 instead of msgid=1.

That way message IDs will not be generated.


Amodiovalerio [Hypo] Verde



---------- Initial Header -----------

>From : syslog-ng-admin@xxxxxxxxxxxxxxxx
To : "Syslog-NG" syslog-ng@xxxxxxxxxxxxxxxx
Cc :
Date : Tue, 2 Mar 2004 11:34:52 +0100
Subject : [syslog-ng]Log prefix under Solaris

> Hey again,
>
> All log messages that syslog-ng reads from sun-streams("/dev/log"
> door("/etc/.syslog_door")); are prefixed with the following string:
> "[ID 702911 local3.alert] "
>
> If I understand correctly, it seems that any program using the standard
> syslog interface under Solaris will see there messages prefixed with an
> ID and the facility they used. This is despite any formatting option I
> can tell, this is simply the content of $MSG.
>
> This, however, doesn't happen with UDP messages.
>
> I wonder if there's a way to remove this part, either at on syslog-ng
> side or in the calls to the syslog interface of Solaris?
>
> Regards,
>
> --
> Loïc Minier <lool@xxxxxxxx>
> _______________________________________________
> syslog-ng maillist - syslog-ng@xxxxxxxxxxxxxxxx
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
>
>

_______________________________________________
syslog-ng maillist - syslog-ng@xxxxxxxxxxxxxxxx
https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise