Search squid archive

RE: url_rewrite_program and the access.log

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux