Squid And Log Files
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
—
Microlinux – Solutions informatiques durables
7, place de l’église – 30730 Montpezat Site : https://www.microlinux.fr Blog : https://blog.microlinux.fr Mail : info@microlinux.fr Tél. : 04 66 63 10 32
One thought on - Squid And Log Files
It’s the logrotate system. Look in /etc/logrotate.conf and
/etc/logrotate.d/ and ‘man logrotate’.
P.