Search squid archive

Re: Ignore requests from certain hosts in access_log

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Baird, Josh wrote:
And, you still see the non-healthcheck, normal traffic logged using the X-Forwarded-For information?

Yes.


Here is my entire config, maybe this will help:
<snip>

# We want to append the X-Forwarded-For header for Websense
follow_x_forwarded_for allow loadbalancers
log_uses_indirect_client on
acl_uses_indirect_client on

# Define Logging (do not log loadbalancer health checks)
access_log /var/log/squid/access.log squid
log_access deny !loadbalancers

Gah. Stupid me not reading that right earlier.

Means: deny all requests that are NOT loadbalancers.

You are wanting:
  log_access deny loadbalancers

So sorry.


Amos
--
Please be using
  Current Stable Squid 2.7.STABLE8 or 3.0.STABLE25
  Current Beta Squid 3.1.0.18

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux