Re: [squid-users] Squid logs

From: Peter Albrecht <[email protected]>
Date: Tue, 12 Sep 2006 16:07:44 +0200

Hi Sebastian,

On Tuesday 12 September 2006 15:39, Sebastian wrote:
> Hi!
> I want to save the logs only for 7 days.
> How I can configure this ? How many days by default the squid save the logs?

If you are using Linux, have a look at logrotate. This can be configured to
rotate the log file according to size or age. And you can also define how
long to keep old (rotated) log files.

If you don't want to use logrotate, use cron to execute "squid -k rotate"
whenever you like.

Regards,

Peter

-- 
Peter Albrecht, Novell Training Services, peter.albrecht@novell.com
Received on Tue Sep 12 2006 - 08:08:02 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Oct 01 2006 - 12:00:03 MDT