Re: [squid-users] Don't log clientParseRequestMethod messages

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 18 Mar 2009 02:10:56 +1300

Herbert Faleiros wrote:
> On Tue, 17 Mar 2009 17:13:13 +1300, Amos Jeffries <squid3_at_treenet.co.nz>
> wrote:
> [cut]
>> No it's a debug log and those messages are important/useful to track bad
>> clients in your traffic.
>>
>> What unknown methods is it recording?
>
> Lots and lots (and lots) of trash (SIP, P2P or/and perhaps virus code). The
> cache.log info is VERY useful but this kind of messages
> obviously polluted the log (can be solved by: cat /var/log/squid/cache.log
> | grep -Ev client.+Request, but I don't know if it will catch out only
> clientParseRequestMethod log entries).

No that pattern will catch all client request handling messages.

You'll have to edit the code and remove the debug() or debugs() line to
silence it fully. Or a pattern to catch the text "WARNING: Unsupported
Request" or whatever the exact one is.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE6 or 3.0.STABLE13
   Current Beta Squid 3.1.0.6
Received on Tue Mar 17 2009 - 13:10:17 MDT

This archive was generated by hypermail 2.2.0 : Tue Mar 17 2009 - 12:00:03 MDT