Re: [squid-users] logging of headers after request modification

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 08 May 2013 03:54:32 +1200

On 8/05/2013 2:03 a.m., Martin Sperl wrote:
> Hi!
>
> I have configured squid 3.2.7 logging with the following pattern to log:
>
> logformat xml ...<Via>%{Via}>ha</Via>...
> access_log daemon:/var/logs/squid/access_log.xml xml all
>
> But I have the problem, that the <VIA> fields stay "empty" (actually "-")...
>
> So I wonder why and how I can change that, so that I get the Via header as well...

%>ha logs the header received from the client, after they have been
altered by ICAP, eCAP, or url_rewrite adaptation.

However what you are talking about is the header delivered to the server
or peer. I'm not sure if we have anything which logs that in logformat
codes yet.

Amos
Received on Tue May 07 2013 - 15:54:42 MDT

This archive was generated by hypermail 2.2.0 : Tue May 07 2013 - 12:00:04 MDT