Re: [squid-users] W3C Extented Log Format

From: Caleb Anthony <caleb.anthony@dont-contact.us>
Date: Mon, 10 Sep 2007 15:22:47 -0600

Ok, thanks for your help.

On 9/9/07, Henrik Nordstrom <henrik@henriknordstrom.net> wrote:
> On sön, 2007-09-09 at 11:35 +0200, Henrik Nordstrom wrote:
> > On tor, 2007-09-06 at 11:08 -0600, Caleb Anthony wrote:
> >
> > > Does something like al->request->query exist? Or would this be a
> > > little harder to implement?
> >
> > Squid not being a web server and do not parse the URL into path and
> > querystring separately, instead the query string is parsed as part of
> > the requested path. Which means that if your grab request->path then you
> > have everything behind the host including query.
> >
> > strip_query_terms off simply cuts the logged URL after the ?
> strip_query_terms on I meant..
>
> >
> > > One last thing, I had to use sed on the log files to convert %20's in
> > > the User-Agent and Cookie header fields into +'s for it to really look
> > > like IIS logs:
> > >
> > > sed 's/%20/+/g'
> >
> > Right. Should add a format method for this..
> >
> > Regards
> > Henrik
>
>
Received on Mon Sep 10 2007 - 15:22:55 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Oct 01 2007 - 12:00:02 MDT