Tom Collins wrote:
On May 17, 2005, at 3:29 AM, Alex wrote:

I have updated my ClamAV installation to version 0.84 about a week ago and
ever since than I'm getting this message in daily root emails:


With Bill's original toaster install, the freshclam log never gets rotated, so it can be a little confusing.

I'm running Fedora Core 3, and I was able to simply create a /etc/logrotate.d/freshclam file as follows:

/var/log/freshclam.log {
    daily
    notifempty
    missingok
    postrotate
        /usr/bin/killall -HUP freshclam 2> /dev/null || true
    endscript
}

Now my logs rotate daily and are a lot less confusing. I also noticed one day that freshclam had stopped running -- without the rotating logs, it would have been difficult to detect that.

I'll get this added to the toaster.

Thanks Tom,

Bill

Reply via email to