On Mon, 21 Jan 2008 15:32:59 +1100, James Brown wrote
> My freshclam.log only shows entries like:
> 
> Log size = 11242653, max = 1048576
> LOGGING DISABLED (Maximal log file size exceeded).
> 
> How can I increase the max log file size?
> 

Try putting something like this in /etc/logrotate.d/freshclam (or wherever). 
This will
will stop it getting too big.

/var/log/freshclam.log {
    missingok
    notifempty
    sharedscripts
    postrotate
        /etc/init.d/freshclam restart >/dev/null 2>&1 || true
    endscript
}


--
Bill Maidment
Maidment Enterprises Pty Ltd
www.maidment.vu
Off-site consultant to Elgas Ltd

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to