Re: [squid-users] Logging with emulate_httpd_log in reverse proxy with rewriter and 2.7

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sun, 01 Mar 2009 00:28:54 +1300

Simon Waters wrote:
> Upgraded from 2.6 to 2.7 (Debian Etch to Debian Lenny).
>
> Almost seemless.....
>
> The log file we have is using emulate_httpd_log.
> We are using Squid as a reverse proxy.
> We are using an external rewriter program for the URLs.
>
> With 2.7 it is logging the URL Squid fetched, rather than the URL requested
> from Squid, in the access log.
>
> Is this a deliberate change between 2.6 and 2.7?
>
> Is there a simple way to revert the behaviour via the config file?
>
> Simon

I think this was a bug fixed in 2.7.STABLE4, which has not quite yet
made its way into Debian. Please log a bug with Debian against that.

Also, you may do better using the current logformat instead of the
deprecated emulation:

   access_log /x/access.log common

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE6 or 3.0.STABLE13
   Current Beta Squid 3.1.0.5
Received on Sat Feb 28 2009 - 11:28:31 MST

This archive was generated by hypermail 2.2.0 : Sat Feb 28 2009 - 12:00:02 MST