Re: [squid-users] How can I turn off TCP_DENIED/403 and 407 logging?

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Fri, 13 Jun 2008 14:44:43 +0200

On fre, 2008-06-13 at 18:56 +0700, docdiz wrote:
> My access.log size is 400-1,200 MB everyday (yes, I rotate it
> everyday at 23:55pm)
> Worse, 3/4 of access.log is just TCP_DENIED/403 and TCP_DENIED/407.
>
> I have to pipe it to grep -v after every rotation. But ... wrote 3/4
> gigabyte of useless information slow down squid somewhat.
>
> QUESTION: How can I turn off these two messages? It's useless ..

Not completely useless. But try the following:

acl useless_squid_response rep_header X-Squid-Error ERR_CACHE_ACCESS_DENIED ERR_ACCESS_DENIED

log_access deny useless_squid_response

Regards
Henrik

Received on Fri Jun 13 2008 - 12:44:49 MDT

This archive was generated by hypermail 2.2.0 : Fri Jun 13 2008 - 12:00:04 MDT