Re: [squid-users] LOG File access.log

From: Hegedus, Ervin <[email protected]>
Date: Fri, 22 Nov 2002 11:03:44 +0100

Hello,

> I am having a big problem with a file from squid. When I start Squid it generates only
> two log files (access.log and cache.log, the other one I set to "none"). My problem is
> that the file access.log is growing to much and it starts to overcome my hardrive. How can
> I disable this log os even make it smaller?

in your squid.conf search this option:
logfile_rotate N
where N is the number of the logfiles.

and every day (or when you want) run from crontab:
/path/to/squid -k rotate

regards:
air
Received on Fri Nov 22 2002 - 03:03:48 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:11:32 MST