[syslog-ng]Preserving syslogd formatting

Balazs Scheidler syslog-ng@lists.balabit.hu
Wed, 26 Nov 2003 10:18:22 +0100


On Fri, Oct 03, 2003 at 10:25:59AM -0400, Kenneth Gray wrote:
> Howdy, I'm using syslog-ng for the first time.  I have several scripts that 
> break because the output from the log files created by syslog-ng does not 
> have the hostname bracketed as it does in syslogd.  Is there any option to 
> emulate the syslogd formatting?
> 
> Example:
> 
> syslog-ng   Oct  3 06:29:13 10.11.27.1/10.11.27.1 1164:
> syslogd      Oct  1 22:48:41 [10.11.27.1.218.94] 2354:

you can do this by specifying a template.

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1