<quote who="Tom Collins">

> 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.

Well, I run CentOS 4 and have created freshclam file as advised above
yesterday. This morning I got same message. When I look in /var/log/
directory I have found that freshclam.log didn't rotate, its still same
one as I have seen yesterday just the file size increased. I know that
entry specifies daily rotation and modification was done around 7PM last
night. Any way I can test it manualy ?

Thanks.

Alex

Reply via email to