> Fre de Vries wrote:
>
> Like to know if there is a way to restrict te maximum size of the squid
> log files.
> access.log is already 20Mb.
I have a cron job that cycles the logs daily. Add something like the
following in the crontab of the user squid runs as:
42 7 * * * /usr/local/squid/bin/squid -k rotate
You can set up the number of rotations to keep in squid.conf, so adjust this
to whatever works out best for you with your disk space requirements. Log
sizes don't vary much from week to week (although the difference between
Fridays and weekends is very noticeable for me :-)).
Jifl
-- Cygnus Solutions, 35 Cambridge Place, Cambridge, UK. Tel: +44 (1223) 728762 "Women marry hoping their husbands will change, men||Home e-mail: jifl @ marry hoping their wives never do. Both are rare." || jifvik.demon.co.uk Help fight spam! http://spam.abuse.net/ These opinions are all my own faultReceived on Fri Feb 12 1999 - 01:47:39 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:44:32 MST