Do we have to make any updates in /etc/logrotate.conf or this is sufficient ?
I have now changed the settings as below as I want to keep 6 months logs .

/var/log/squid3/*.log {
        weekly
        compress
        delaycompress
        rotate 24
        missingok
        nocreate
        sharedscripts
        prerotate
                test ! -x /usr/sbin/sarg-reports || /usr/sbin/sarg-reports
        endscript
        postrotate
                test ! -e /var/run/squid3.pid || test ! -x /usr/sbin/squid3
|| /usr/sbin/squid3 -k rotate
        endscript
}



--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-Log-file-rotation-tp4668374p4668390.html
Sent from the Squid - Users mailing list archive at Nabble.com.
_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

Reply via email to