Re: Logs

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 31 Dec 1999 03:16:38 +0100

All of them are safe to delete unless you need to store them for
accounting/traceability reasons, but you must tell Squid to rotate them
first, or restart Squid afterwards.

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
Faisal Naseer wrote:
> 
> 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
Received on Thu Dec 30 1999 - 19:33:38 MST

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