Re: deleting log files

From: Bill Wichers <>
Date: Thu, 26 Mar 1998 12:59:38 -0500 (EST)

You need to rotate your logs. Set the logfile_rotate parameter in your
squid.conf to the number of old copies you want to keep. Squid will
automatically delete the logs that are older than logfile_rotate value *
rotation interval this way.

Set cron to `kill -USR1 squid <pid>` at the time that you want the logs to
rotate. I have my systems rotate logs at 23:59 each day (and earlier for
some remote sites) to accomodate the automated log processing scripts I
run on a stats server.


On Thu, 26 Mar 1998, Adalto Silva Correia Filho wrote:

> Dear friends,
> I've recently installed squid-1.1.20 and I'm having a little
> concern about the size of my logs (access, cache and store). They're
> increasing very fast, and I doubt if they are still worth having.
> Could anyone tell me what to do to minimize the logs sizes
> without affecting the squid performance?
> I'll be expecting any answers.
> Thanks in advance,
> Adalto S. Correia Filho
Received on Thu Mar 26 1998 - 10:04:46 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:39:27 MST