I have a logrotate.d/clamav-daemon setup to rotate my clamav logs as shown below:
/var/log/clamav/clamav.log { rotate 5 daily compress delaycompress create 640 clamav adm postrotate /etc/init.d/clamav-daemon reload-log > /dev/null endscript } It successfully rotates the logs, but the logs from there on out only contain: Wed Sep 19 09:17:44 2007 -> SelfCheck: Database modification detected. Forcing reload. Wed Sep 19 09:17:44 2007 -> Reading databases from /var/lib/clamav Wed Sep 19 09:17:50 2007 -> Database correctly reloaded (207786 signatures) Whereas before the logrotation the log contained a lot more clamav information, including what viruses were caught. Is there a better way to rotate the log? Installed: 0.91.2-1~volatile1 Thanks, Micah _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html