Re: [squid-users] Only Debug/Log TCP_DENIED/403

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 12 Jul 2012 00:51:28 +1200

On 11/07/2012 9:08 p.m., ml ml wrote:
> Hello,
>
> okay, this actually works:
>
> acl DENY_ACCESS http_status 403
> access_log /tmp/squid.deny.log squid DENY_ACCESS
>
>
> Okay, but how can i now Debug which acl rule caused TCP_DENIED/403?
> I only want to set my debug_options for the TCP_DENIED/403 requests...

You can't. The ACL code knows nothing of some future 403 state. It only
knows what it is checking and what it is checking against.

debug section 28 shows what ACLs are matching (or not), and why. Level
28,3 is usually the best for a short overview of what comparisons are
going on.

Amos
Received on Wed Jul 11 2012 - 12:51:38 MDT

This archive was generated by hypermail 2.2.0 : Wed Jul 11 2012 - 12:00:01 MDT