[syslog-ng]Log prefix under Solaris

Loic Minier syslog-ng@lists.balabit.hu
Wed, 3 Mar 2004 11:19:08 +0100


Amodiovalerio Verde <amover@libero.it> - 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@dooz.org>