[squid-users] How can i keep log files for longer periods?

Amos Jeffries squid3 at treenet.co.nz
Tue Mar 17 11:27:57 UTC 2015


On 17/03/2015 10:50 p.m., Brijesh B. Mehta wrote:
> Hello,
> 
> I am new to squid and using it for few days. i found that in my squid
> configuration (which default i guess) access log of only three days is
> being maintained (/var/log/squid3/). Now i want to store access log of
> more than 3 days say for month so what changes i need to make in my
> configuration file? I already read about rotate a log file but it
> confused me so i haven't tried it yet.
> Kindly provide me some solution
> 

Since you are using the Debian package it will be in /etc/logrotate.d/squid3

Amos



More information about the squid-users mailing list