Re: [squid-users] Possible to log outgoing request/response details?

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 02 May 2011 00:22:40 +1200

On 01/05/11 23:55, Andreas Bråthen wrote:
> Is it possible to configure Squid to log all outgoing
> request/responses (i.e. to servers), and not just client
> request/responses as it is by default?

grep -v -E "TCP_HIT" access.log >outgoing_server_requests.log

ie TCP_HIT are local cache storage fetches. All other requests involve
one server request even if it is just an IMS validation.

Other than that what are you looking for?...
   every DNS packet to be logged?
   every ICP packet?
   every HTCP packet?
   every ICMP packet?
   digest and netdb updates?
   peer monitoring requests?

Those are the only background traffics not indicated in access.log.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.12
   Beta testers wanted for 3.2.0.7 and 3.1.12.1
Received on Sun May 01 2011 - 12:23:04 MDT

This archive was generated by hypermail 2.2.0 : Sun May 01 2011 - 12:00:05 MDT