[syslog-ng]Separator for $MSGONLY

Thomas Lohschmidt syslog-ng@lists.balabit.hu
Fri, 3 Dec 2004 13:44:00 +0100


Hi folks,

I've got a small feature request regarding the $MSGONLY macro. I've notic=
ed
there is a colon ':' hard coded in macros.c as separator between preamble
and the message content.
I would like to have this character configurable. We use a lot of solaris
boxes sending messages using the logger command and it puts some addition=
al
information in brackets in front of the message which I don't want to see
in my logfiles.
So I hardcoded the closing bracket ']' into macros.c as a workaroung to
achieve the desired result. It would be nice to have a parameter in the
config file, say "msgonly_sep" or something like that, so I don't have to
patch new releases of syslog-ng.

Regards
Thomas


Der Inhalt dieser E-Mail ist vertraulich. Falls Sie nicht der angegebene
Empf=E4nger sind oder falls diese E-Mail irrt=FCmlich an Sie adressiert w=
urde,
verst=E4ndigen Sie bitte den Absender sofort und l=F6schen Sie die E-Mail
sodann. Das unerlaubte Kopieren sowie die unbefugte =DCbermittlung sind n=
icht
gestattet. Die Sicherheit von =DCbermittlungen per E-Mail kann nicht
garantiert werden. Falls Sie eine Best=E4tigung w=FCnschen, fordern Sie b=
itte
den Inhalt der E-Mail als Hardcopy an.

The contents of this  e-mail are confidential. If you are not the named
addressee or if this transmission has been addressed to you in error,
please notify the sender immediately and then delete this e-mail.  Any
unauthorized copying and transmission is forbidden. E-Mail transmission
cannot be guaranteed to be secure. If verification is required, please
request a hard copy version.