Re: [squid-users] How to exclude some ip addresses from squid access log.

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 11 Dec 2008 00:59:29 +1300

Indunil Jayasooriya wrote:
> Hi Everyone,
>
> I have the need of monitoring squid web browsing . So I am going to
> use sarg. It usually shows all the ip addresses.
> I want to excldue ip addresses of some managers from sarg.
>
> So , I think If I can exclude those ips from squid access.log, It
> would be a solution.
>
> and also, Can I exclude ftp access to some ip addresses?
>
> Pls grant your advice.

http://www.squid-cache.org/Doc/config/access_log/

note the list of ACLs possible to define what can/can't get logged.

acl evilNet src 192.168.0.0/24
access_log something.log squid !evilNet

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE5 or 3.0.STABLE10
   Current Beta Squid 3.1.0.3 or 3.0.STABLE11-RC1
Received on Wed Dec 10 2008 - 11:59:35 MST

This archive was generated by hypermail 2.2.0 : Wed Dec 10 2008 - 12:00:02 MST