logo       

Re: Log prefix under Solaris: msg#00011

syslog-ng

Subject: Re: Log prefix under Solaris

Amodiovalerio Verde <amover@xxxxxxxxx> - Tue, Mar 02, 2004:

> You can disable solaris message ID generation editing the file
> /kernel/drv/log.conf
> Just set msgid=0 instead of msgid=1.

I am running Solaris 8, and there was no such msgid=0 property in
/kernel/drv/log.conf. I did not find useful documentation of the
properties of the log driver (no log(7d)), and I simply added the
property to my /kernel/drv/log.conf which now looks like:

name="log" parent="pseudo" instance=0 msgid=0;

I used adb for the hot-reconfiguring (you're supposed to reboot for the
new property to take effect) with the following command:

# echo log_msgid/W0 | adb -kw

Thank you for your help!

--
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




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

News | FAQ | advertise