RE: [squid-users] url_rewrite_program and the access.log

From: Jim Whiteacre <jwhiteacre_at_mxlogic.com>
Date: Mon, 20 Jul 2009 17:08:20 -0600

When you say it is easy to add this to the re-writers, do you mean have the re-writer have its own log or have it log to the access log itself?

What I am looking for is a single log entry that contain the actual url the user went to along with the byte counts for that request.

Jim

> -----Original Message-----
> From: Amos Jeffries [mailto:squid3_at_treenet.co.nz]
> Sent: Monday, July 20, 2009 5:04 PM
> To: Jim Whiteacre
> Cc: squid-users_at_squid-cache.org
> Subject: Re: [squid-users] url_rewrite_program and the access.log
>
> On Mon, 20 Jul 2009 12:32:32 -0600, Jim Whiteacre
> <jwhiteacre_at_mxlogic.com>
> wrote:
> > All
> >
> > Is it possible to have the url returned by the url_rewrite_program
> added
> to
> > the access.log? Currently I am using the %ru to get the originally
> > requested url, however if the url_rewrite_program changes the url
> that
> new
> > url is not written to the access.log.
> >
> >
> > Jim
>
> Squid-2.HEAD has the %rU tag.
> This has not yet been ported to any of the stable releases.
>
> It's trivial to make most re-writers log the changes they make though.
>
> Amos
Received on Mon Jul 20 2009 - 23:08:44 MDT

This archive was generated by hypermail 2.2.0 : Tue Jul 21 2009 - 12:00:03 MDT