Search squid archive

Re: Remove entries from access.log

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 27/12/10 07:09, David Touzeau wrote:
Dear

I have these entries in access.log

squid-maison.localhost - - [26/Dec/2010:19:05:13 +0100] "GET
cache_object://127.0.0.1/diskd HTTP/1.0" 200 679 TCP_MISS:NONE
squid-maison.localhost - - [26/Dec/2010:19:05:13 +0100] "GET
cache_object://127.0.0.1/store_io HTTP/1.0" 200 431 TCP_MISS:NONE
<snip>

I woul like to force squid not logging events came from 127.0.0.1,

Is it possible to do that ?

Yes, but slightly dangerous. These are cachemgr requests. Be careful other general requests don't come from localhost as well before omitting from the logs. Or you could just block the "manager" ACL requests being logged.

The log_access directive allows global control:
  http://www.squid-cache.org/Doc/config/log_access

The access_log local ACL set allows per-log control:
  http://www.squid-cache.org/Doc/config/access_log


Amos
--
Please be using
  Current Stable Squid 2.7.STABLE9 or 3.1.10
  Beta testers wanted for 3.2.0.4


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux