[syslog-ng]Log prefix under Solaris

Amodiovalerio Verde syslog-ng@lists.balabit.hu
Tue, 2 Mar 2004 15:06:47 +0100


You can disable solaris message ID generation editing the file /kernel/dr=
v/log.conf

Just set msgid=3D0 instead of msgid=3D1.

That way messag=
e IDs will not be generated.


Amodiovalerio [Hypo] Verde



-----=
----- Initial Header -----------

>From      : syslog-ng-admin@lists.bal=
abit.hu
To          : "Syslog-NG" syslog-ng@lists.balabit.hu
Cc        =
  : 
Date      : Tue, 2 Mar 2004 11:34:52 +0100
Subject : [syslog-ng]Lo=
g prefix under Solaris

>    Hey again,
> 
>  All log messages that s=
yslog-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 th=
e standard
>  syslog interface under Solaris will see there messages pre=
fixed with an
>  ID and the facility they used.  This is despite any for=
matting option I
>  can tell, this is simply the content of $MSG.
> =0D
=
>  This, however, doesn't happen with UDP messages.
> 
>  I wonder if t=
here's a way to remove this part, either at on syslog-ng
>  side or in t=
he calls to the syslog interface of Solaris?
> 
>    Regards,
> 
> --=
 
> Lo=EFc Minier <lool@dooz.org>
> ___________________________________=
____________
> syslog-ng maillist  -  syslog-ng@lists.balabit.hu
> http=
s://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked quest=
ions at http://www.campin.net/syslog-ng/faq.html
> 
>