[syslog-ng]syslog-ng long_hostsname
phantagom
phantagom@hotmail.com
Thu, 29 Mar 2001 11:49:51 +0200
----- Original Message -----
From: Dennis Kruyt
To: syslog-ng@lists.balabit.hu
Sent: Wednesday, March 28, 2001 10:47 AM
Subject: [syslog-ng]syslog-ng long_hostsname
Hi,
I'm running syslog-ng server with a SSL tunnel to the syslog-ng client's
I'm sorting the log files to the following dir
destination extern { file( "/var/logs/$HOST/$DAY/$FACILITY.log"); };
That function works fine but in the log file there is the following line:
Mar 28 03:01:26 src@XXX/ZZZZ.bos.nl proftpd[3808]: XXXX.bos.nl
(ZZZZ.bos.nl[195.XX.XX.XX]) - FTP session closed.
But i want the same line as with syslog
Mar 28 03:01:26 XXX proftpd[3808]: XXXX.bos.nl (ZZZZ.bos.nl[195.XX.XX.XX]) -
FTP session closed.
So that the log analyzer can do there work, i know that i can put out that
function with long_hostnames(off) but then is the sorting function for the
directory's also gone
is there a solution for this.
Dennis Kruyt,
ZXFactory BV
Telefoonweg 44b
6712 GD EDE
The Netherlands
T +31 138 693 111
F +31 139 693 042
I www.zxfactory.nl