Search squid archive

Re: status acl

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

 



On 29/08/2013 11:44 p.m., Alfredo Rezinovsky wrote:
I need to log only TCP_MISS in a custom log for further processing

There's an acl for that ?

Nope. TCP_MISS is an aggregate indicating what type of internal processing code was applied by Squid (http://wiki.squid-cache.org/SquidFaq/SquidLogs#Squid_result_codes).

What are you trying to record exactly? things labeled TCP_MISS or cache MISS traffic? they are not the same thing.


Until the codes there get cleaned up properly there is hierarchy code ACL which can get you close ...

 # hierarchy code NONE indicates that no upstream server was contacted.
 acl foo hier_code NONE
 access_log daemon:/some/file/path squid !foo

Will log lines where a server was involved (MISS and REFRESH traffic).

Amos




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

  Powered by Linux