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.
Amos -- Please be using Current Stable Squid 2.7.STABLE9 or 3.1.15 Beta testers wanted for 3.2.0.10