question about logrotate (little offtopic ;)
19 Sep
2002
19 Sep
'02
8:49 a.m.
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
8393
Age (days ago)
8393
Last active (days ago)
0 comments
1 participants
participants (1)
-
Buerger, Manfred