Hello everyone, ive just set up a syslog-ng remote logging server that logs through stunnel with theese rules: destination hosts { file("/var/log/hosts/$HOST/$YEAR/$MONTH/$DAY/$HOST-$YEAR-$MONTH-$DAY/$FACILITY" owner(root) group(wheel) perm(0600) dir_perm(0700) create_dirs(yes)); }; source recieved { tcp(ip("127.0.0.1") port(515) keep-alive(yes)); }; log { source(recieved); destination(hosts); }; The logging works, but the logs is put into "/var/log/hosts/---/$FACILITY", _NOT_ into "/var/log/hosts/$HOST/$YEAR/$MONTH/$DAY/$HOST-$YEAR-$MONTH-$DAY/$FACILITY" Am i doing something wrong? I just upgraded both stunnel and syslog-ng to the lastest version, before that everything worked fine, but now its fucked up.. thanks / neon
On Sat, Apr 19, 2003 at 08:47:44PM +0200, neonman@7of1.mine.nu wrote:
Am i doing something wrong? I just upgraded both stunnel and syslog-ng to the lastest version, before that everything worked fine, but now its fucked up..
Please specify the exact versions, just in case. -- Nate Campi http://www.campin.net
On Tue, Apr 22, 2003 at 05:55:45PM -0700, Nate Campi wrote:
On Sat, Apr 19, 2003 at 08:47:44PM +0200, neonman@7of1.mine.nu wrote:
Am i doing something wrong? I just upgraded both stunnel and syslog-ng to the lastest version, before that everything worked fine, but now its fucked up..
Please specify the exact versions, just in case.
You probably have the same problem this person had: https://lists.balabit.hu/pipermail/syslog-ng/2003-April/004999.html -- Nate Campi http://www.campin.net
participants (2)
-
Nate Campi
-
neonman@7of1.mine.nu