[squid-users] How can I get a separated logifle of denied URL by acl?

From: OSUMI Yusuke <ozuma5119_at_nifty.com>
Date: Wed, 21 Aug 2013 23:01:56 +0900

Hi,

I'm using squid 3.1 to block HTTP requests by my customized URL blacklists.

squid.conf:
-------------------
acl blacklist_regex url_regex "/usr/local/squid/etc/blacklist.txt"
http_access deny blacklist_regex
-------------------

Then, I want to get blocked requests from a logfile.
Because my "access.log" is too large, I want to get a separated logfile
which only include blocked requests by above 'url_regex' setting.
(e.g.. I want to get "access.log" and "cache.log", and also want to get
"deny.log")

Any idea?

Thanks,

-- 
OSUMI Yusuke
ozuma5119_at_nifty.com
Received on Wed Aug 21 2013 - 14:02:24 MDT

This archive was generated by hypermail 2.2.0 : Thu Aug 22 2013 - 12:00:10 MDT