[squid-users] Ignore requests from certain hosts in access_log

From: Baird, Josh <jbaird_at_follett.com>
Date: Fri, 12 Mar 2010 08:55:03 -0600

I am trying to ignore requests from two IP addresses in my access_log.
These two hosts connect every second and do "health checks" of the proxy
service and I would like to eliminate the access_log spam that they
create. Here is what I am trying:

acl loadbalancers src 172.26.100.136/255.255.255.255
acl loadbalancers src 172.26.100.137/255.255.255.255
access_log /var/log/squid/access.log squid !loadbalancers

This does not seem to have any effect. Requests from 172.26.100.136 and
.137 are still appearing in the access_log. Any ideas?

Running Squid 2.6 from EL5: squid-2.6.STABLE21-3.el5.

Thanks,

Josh
Received on Fri Mar 12 2010 - 14:55:10 MST

This archive was generated by hypermail 2.2.0 : Mon Mar 15 2010 - 12:00:04 MDT