Search squid archive

Logrotate question

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

 



Hi all,

ATM to clear the logs, I do this in crontab, every 3 months

0 0 1 */3 * echo "" > /usr/local/squid/var/logs/access.log and do the same for cache log

It works but I want to really use log rotate ie

0 0 1 */3 * /usr/local/squid/sbin/squid -k rotate

I hear log rotate keeps 10 files by default so does that mean I will have 10 access logs etc and also will it keep the file the same ie won't change the size or compress it to save space

Thanks,
Rob
_______________________________________________
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