On 28/10/11 06:41, Nathan Hawk wrote:
Markus,
As far as I know, Squid doesn't rotate its log files. You can either
write a script and set up a cron job or use logrotate
(/etc/logrotate.conf) to do this. Here is a link to some logrotate
examples you can look at:
Hi,
Ive installed Squid 2.7 on a proxy server at a local school. But I still
got one problem. I need squid to keep its access logs for 1 year
and
wishfully start of a new squid access log every day. Is that somehow
possible ?
Thanks in advance,
Markus
Markus,
As far as I know, Squid doesn't rotate its log files. You can either
write a script and set up a cron job or use logrotate
(/etc/logrotate.conf) to do this. Here is a link to some logrotate
examples you can look at:
http://www.thegeekstuff.com/2010/07/logrotate-examples/
Thanks,