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

2012-07-11 Thread ml ml
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... Thanks, Mario

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

2012-07-11 Thread Alan
See this: http://wiki.squid-cache.org/KnowledgeBase/DebugSections So you could use, for example: debug_options ALL,2 28,4 82,4 That would log at level 4 for of access control and external acl related things and level 2 for the rest. On Wed, Jul 11, 2012 at 6:08 PM, ml ml

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

2012-07-11 Thread Amos Jeffries
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...

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

2012-07-10 Thread ml ml
Hello List, can i only Log/Debug TCP_DENIED/403 hits? I have a LOT of traffic and i am only interested in TCP_DENIED Thanks, Mario

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

2012-07-10 Thread Amos Jeffries
On 11/07/2012 12:25 a.m., ml ml wrote: Hello List, can i only Log/Debug TCP_DENIED/403 hits? I have a LOT of traffic and i am only interested in TCP_DENIED Thanks, Mario http://www.squid-cache.org/Doc/config/access_log/ Takes ACLs such as the http_status ACL. Amos

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

2012-07-10 Thread ml ml
Hello Amos, thanks. I am using Squid Version 3.1.19 and those rules: acl DENY_ACCESS http_status 403 access_log daemon:/var/log/squid/DENY.log squid DENY_ACCESS However i get: 2012/07/10 15:18:13| aclParseAclList: ACL name 'DENY_ACCESS' not found. FATAL: Bungled squid.conf line 695: access_log

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

2012-07-10 Thread Alan
Its written clearly in the manual: access_log module:place [logformat name [acl acl ...]] In your case: acl DENY_ACCESS http_status 403 access_log squid DENY_ACCESS squid refers to a predefined logformat, see http://www.squid-cache.org/Doc/config/logformat/ On Tue, Jul 10, 2012 at 10:23 PM, ml

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

2012-07-10 Thread Amos Jeffries
On 11.07.2012 02:00, Alan wrote: Its written clearly in the manual: access_log module:place [logformat name [acl acl ...]] In your case: acl DENY_ACCESS http_status 403 access_log squid DENY_ACCESS squid refers to a predefined logformat, see http://www.squid-cache.org/Doc/config/logformat/