[squid-users] How can I avoid logging these: NONE error:invalid-request HTTP/0.0

From: Peter Olsson <pol_at_leissner.se>
Date: Fri, 14 Jun 2013 11:27:58 +0200

We get a lot of these in our squid log:

x.x.x.x - - [14/Jun/2013:11:20:01 +0200] "NONE error:invalid-request HTTP/0.0" 400 4026 NONE:NONE

We tracked it to Spotify clients. We don't want to
block Spotify but we want to avoid filling the log
with these pointless lines.

We run a non-transparent Squid 3.1.20 in FreeBSD.
I will upgrade to Squid 3.2 this weekend, but I
suspect that these lines will still be logged in 3.2.

I tried this log_access, but it didn't work:
acl spotify_invalid urlpath_regex invalid-request
log_access deny spotify_invalid
log_access allow all

Anyone know how we can exclude these lines from the log?

Thanks!

Peter Olsson
Received on Fri Jun 14 2013 - 09:28:13 MDT

This archive was generated by hypermail 2.2.0 : Fri Jun 14 2013 - 12:00:29 MDT