hello,
my syslog-ng server is runnig fine, but a have little problem with logrotate. please take a look...
syslog-ng writes the log files into "/var/log/syslog-ng/"
in this directory for each host a subdirectory is created e.g.:
/var/log/syslog-ng/10.10.10.2/
/var/log/syslog-ng/10.10.10.3/
usw...
in /etc/logrotate.conf i made the following entry:
/var/log/syslog-ng/* {
rotate 5
daily
size=500M
postrotate
/usr/bin/killall -HUP syslog-ng
endscript
compress
}
but this dont work! i have to specify the whole path to the log files:
/var/log/syslog-ng/10.10.10.3/*
ist there a way to rotate a directory with its subdirectory??
thanks in advance
manfred