Search squid archive

Re: Squid logs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux