Re: [squid-users] status acl

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 30 Aug 2013 01:30:30 +1200

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
Received on Thu Aug 29 2013 - 13:30:39 MDT

This archive was generated by hypermail 2.2.0 : Thu Aug 29 2013 - 12:00:26 MDT