Hi,
I have Squid running on several CentOS proxy servers. Here's what the Squid log file directory looks like on my own server:
access.log access.log-20180311.gz access.log-20180319.gz access.log-20180429.gz access.log-20180506.gz access.log-20180514.gz cache.log cache.log-20180416.gz cache.log-20180422.gz cache.log-20180430.gz cache.log-20180506.gz cache.log-20180514.gz squidGuard.log
I don't know if the compressed and archived *.gz log files are supposed to be erased some time. Anyway, I'd like to make sure they are kept at least for one full year.
Where is this defined ?
Niki
I don't know if the compressed and archived *.gz log files are supposed to be erased some time. Anyway, I'd like to make sure they are kept at least for one full year.
Where is this defined ?
It's the logrotate system. Look in /etc/logrotate.conf and /etc/logrotate.d/ and 'man logrotate'.
P.