• Increase font size
  • Default font size
  • Decrease font size

How can I disable Squid's log files

 To disable access.log:

 

cache_access_log none

To disable store.log:

cache_store_log none

To disable cache.log:

cache_log /dev/null

alt

It is a bad idea to disable the cache.log because this file contains many important status and debugging messages. However, if you really want to, you can

/!

If /dev/null is specified to any of the above log files, logfile rotate must also be set to 0 or else risk Squid rotating away /dev/null making it a plain log file

{i}

Instead of disabling the log files, it is advisable to use a smaller value for logfile_rotate and properly rotating Squid's log files in your cron. That way, your log files are more controllable and self-maintained by your system

 

What is the maximum size of acce

 

Add comment


Security code
Refresh