Hmm .. I'm looking for the port-number used between the proxy and the external server. As far as I can see, its only possible to define a log form that contains: - proxy port (%lp) - client port (%>p) But _not_ server port (%<p) Am I missing something here? Andreas ----- Original Message ----- From: Amos Jeffries <squid3@xxxxxxxxxxxxx> To: squid-users@xxxxxxxxxxxxxxx Sent: Sun, 01 May 2011 14:22:40 +0200 (CEST) Subject: Re: Possible to log outgoing request/response details? 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 -- Andreas BrÃthen E-mail : andreasb@xxxxxxxxxxx mnemonic AS, Wergelandsveien 25 Phone : +47 23 20 47 91 N-0167 Oslo, Norway Mobile : +47 93 29 25 57 Fax : +47 23 20 47 01 PGP key A0444511 available at eu.pool.sks-keyservers.net