[squid-users] How can i keep log files for longer periods?
squid at visolve.com
Tue Mar 17 10:24:14 UTC 2015
You can use the following in squid configuration to have access log for
It will keep last 10 access log of squid. If you wish to have log for
month, use it as 30. You may rotate squid log using crontab. Following
will rotate log at every morning 6.
00 6 * * * squid -k rotate
- Siva Prakash
On 03/17/2015 03:20 PM, Brijesh B. Mehta wrote:
> 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
> Mr. Brijesh B. Mehta
> Research Scholar,
> Computer Engineering Department,
> S. V. National Institute of Technology,
> Surat - 395007
> Gujarat, India
> If you forward this email, please delete the forward history,
> including my email address.
> Remember, erasing the history helps to prevent SPAMMERS from mining
> addresses and viruses from being propagated.
> Also enter the addresses on the "Bcc" line to hide them from others.
> squid-users mailing list
> squid-users at lists.squid-cache.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the squid-users