Search squid archive

Re: Squid Log file rotation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux