On Fri, 2009-07-24 at 12:29 +0100, John Horne wrote:
> Hello,
> 
> If I create an ACL to deny access to specific sites, and add a custom
> error message:
> 
>     acl  banned_urls  url_regex  -i  "/etc/squid/..."
>     http_access  deny  banned_urls
>     deny_info ERR_LOCAL_BAN banned_urls
> 
> 
> Is there any way I can get some form of statistics about how often this
> specific ACL is hit? I have looked in the cachemanager, and the access
> log file, but I can see nothing which indicates this specific ACL is
> being hit.
> 
It seems that by using 'debug_options ALL,1 33,2' in the config file,
causes the cache log to record whether a requested URL is allowed or not
and by which ACL. This is fine for us, as all we have to do now is grep
the log file for the relevant info.



John.

-- 
---------------------------------------------------------------
John Horne, University of Plymouth, UK  Tel: +44 (0)1752 587287
E-mail: [email protected]       Fax: +44 (0)1752 587001

Reply via email to