[syslog-ng] message numbers

Terje Krogdahl tekr@nextra.com
23 Feb 2000 13:39:32 +0100


I'm in the progress of replacing Suns syslogd with syslog-ng 1.4.0rc2.
I'm sure this is an FAQ, but how can I make it include message numbers?

With Sun syslogd I get:

   Feb 23 13:17:58 hostname 1288115: the_message_itself

but with syslog-ng I only get:

   Feb 23 13:17:58 hostname : the_message_itself

The number "1288115" is missing, and I cannot figure out how to configure
syslog-ng to include it. Unfortunately, I really need this number for
post-processing of logs... Any suggestions?

Terje Krogdahl
Nextra AS

  - I don't buy from spammers.