squid -k rotate and it will do all the work for u and then u can delete the
files like access.log.0 store.log.0 but please read FAQ first ,,.
With Regards
Ahsan Khan
Sr. System Admin
Internet Division (OneNet)
Sun Communication Pvt. Ltd.
http://www.one.net.pk
----- Original Message -----
From: "Faisal Naseer" <fai...@webnet.com.pk>
To: <squid...@ircache.net>
Sent: Friday, December 31, 1999 3:02 AM
Subject: Logs
> I was just wondering which logs are safe to delete? since they are
> growing very large.
>
> access.log
> cache.log
> store.log
>
> regards,
> faisal naseer
>
>
store.log can be disabled if you don't use it.
cache_store_log none
If you have ICP siblings/child caches then the size of access.log can be
limited somewhat by not logging ICP queries
log_icp_queries off
There currenlty is no option to not log HTTP queries.
cache.log cannot be disabled, but less information will be logged there
if you disable all "debug" logging.
debug_levels ALL,0
but doing so may make it harder to diagnose problems if any should
arise.
From disk space and performance reasons you are recommended to have
Squid rotate it's logs at least once/day. The amount (in days) of logs
Squid saves is then determined by logfile_rotate. Rotating the logs is a
way to automatically maintain the amount of logs stored, and as part of
the rotate process (even if logfile_rotate is 0) Squid performs some
routine maintenance cleanup of it's on-disk store.
--
Henrik Nordstrom
Squid hacker