Wednesday, August 25, 2010

how to disable squid's logs

For the extreme anonymity, ones might also want to disable all the logs generated by squid.  Here is the easiest way I found to disable the logs.  In squid's configuration file which is, for my case:

/etc/squid/squid.conf

Replace
access_log /var/log/squid/access.log squid
with
access_log /dev/null squid

Replace
cache_log /var/log/squid/cache.log
with
cache_log /dev/null

Replace
cache_store_log /var/log/squid/store.log
with
cache_store_log /dev/null

"/dev/null" is a magic device file in unix.

0 comments:

Post a Comment