Re: [squid-users] How to print content alongwith headers using the debug_options

From: Sylvain Viart <[email protected]>
Date: Tue, 31 Oct 2006 10:18:21 +0100

Hi,

Henrik Nordstrom wrote:

>mån 2006-10-30 klockan 15:33 -0800 skrev Pranav Desai:
>
>
>>Is there a way to print the entire content alongwith the headers in
>>the logs file. Using the debug_options maybe.
>>
>>
>
>Nope. Squid never prints the content in debug statements. Partially due
>to the content often being binary and not showing up well in text
>output, and partially due to it not really being interesting for
>debugging purposes.
>
>You can however use packet level tools to inspect all details of the
>traffic. ngrep, ssldump, ethereal/wireshark etc.
>
>
May be, you could print the hashed cache folder location of the content
associated with the query?

(http://url/path/somedata => cachedir/00/00/00000010)
Then you could use a small script to bind together the header and the
content...

and in fact some header are stored in the cached content, try a less
cachedir/00/00/00000010, to see it.

Just an idea, if that helps.

Regards,
Sylvain.
Received on Tue Oct 31 2006 - 02:18:26 MST

This archive was generated by hypermail pre-2.1.9 : Wed Nov 01 2006 - 12:00:05 MST