[squid-users] binary data in cache.log with squid 3.0

From: Leonardo Rodrigues Magalhães <leolistas_at_solutti.com.br>
Date: Tue, 05 Aug 2008 11:50:06 -0300

    i dont know if this is expected or even desired .... but with squid
3.0 i'm getting some log entries that brings lots of binary data to the
log. This binary stuff makes it impossible, sometimes, to watch logs
with 'tail -f' or even 'cat'. When binary data is presented, my terminal
just get completly messed up and i have to disconnect and reconnect to
the machine.

    Logs entries are always 'Unsupported method in request' entries.

    i skipped directly from 2.5 to 3.0 ... and never had this kind of
problem (binary data in cache.log) with squid 2.5. Dont know what would
be the behavior with 2.6 or 2.7 .....

    in squid 3.0 i'm getting something similar to:

2008/08/05 11:01:32| clientParseRequestMethod: Unsupported method in
request 'LOOOOTS OF BINARY DATA HERE'
2008/08/05 11:01:32| clientProcessRequest: Invalid Request

    OK, i know this is an invalid request and, thus, needs to be logged.
But should binary data be logged to a ascii log file ??? i wasnt
expecting that ...

    i'm seeing this on squid 3.0 stable 8, latest stable code available ...

-- 
	Atenciosamente / Sincerily,
	Leonardo Rodrigues
	Solutti Tecnologia
	http://www.solutti.com.br
	Minha armadilha de SPAM, NÃO mandem email
	gertrudes_at_solutti.com.br
	My SPAMTRAP, do not email it
Received on Tue Aug 05 2008 - 14:50:21 MDT

This archive was generated by hypermail 2.2.0 : Wed Aug 06 2008 - 12:00:02 MDT