Re: [squid-users] Logging/Capturing POST data

From: Amos Jeffries <>
Date: Thu, 01 Sep 2011 17:10:51 +1200

On 01/09/11 05:11, Will Roberts wrote:
> Hello,
> I'd like to capture POST data sent with requests in addition to the
> headers that are normally available through squid's logging. I've got
> the code and I'm looking mainly at the client and access log classes.
> Any ideas as to what the best approach would be in order to do this?
> Add another member to the AccessLogEntry and then use that when
> writing out the logs? Something else entirely? I've seen suggestions
> to use an ICAP server and do the capture there, but I'd really like to
> try and keep it all in squid if possible.
> Thanks,
> --Will

Before you go any further. Why? "I'd like to" is nowhere near good
enough reason to touch or even look at that data.

The suggestions were right. ICAP or eCAP or tcpcdump is the way or not
to do it at all. Seriously, don't.


Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.15
   Beta testers wanted for
Received on Thu Sep 01 2011 - 05:10:57 MDT

This archive was generated by hypermail 2.2.0 : Thu Sep 01 2011 - 12:00:03 MDT