[squid-users] logging of headers after request modification

From: Martin Sperl <Martin.Sperl_at_amdocs.com>
Date: Tue, 7 May 2013 14:03:02 +0000

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...

Thanks,
        Martin

P.s: I am modifying the VIA header in my config like this under some circumstances:
request_header_access Via allow CUSTOM_ACL
request_header_access Via deny all
request_header_replace Via mypersonalvalue

The application sees the "expected" value in the Via header, so that itself is not an issue - only logging the header is NOT working as expected...
(it actually only works IF

This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement,
you may review at http://www.amdocs.com/email_disclaimer.asp
Received on Tue May 07 2013 - 14:03:12 MDT

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