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

2009-03-17 Thread Amos Jeffries

Herbert Faleiros wrote:

On Tue, 17 Mar 2009 17:13:13 +1300, Amos Jeffries 
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


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

2009-03-17 Thread Herbert Faleiros
On Tue, 17 Mar 2009 17:13:13 +1300, Amos Jeffries 
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).


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

2009-03-16 Thread Amos Jeffries

Herbert Faleiros wrote:

Is there a way to avoid log "clientParseRequestMethod: Unsupported method
in request..." messages in my cache.log?


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?

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE6 or 3.0.STABLE13
  Current Beta Squid 3.1.0.6


[squid-users] Don't log clientParseRequestMethod messages

2009-03-16 Thread Herbert Faleiros
Is there a way to avoid log "clientParseRequestMethod: Unsupported method
in request..." messages in my cache.log?