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