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:[email protected]]
> Sent: Monday, July 20, 2009 5:04 PM
> To: Jim Whiteacre
> Cc: [email protected]
> Subject: Re: [squid-users] url_rewrite_program and the access.log
> 
> On Mon, 20 Jul 2009 12:32:32 -0600, Jim Whiteacre
> <[email protected]>
> 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

Reply via email to