Re: [squid-users] split access log up for different sites?

From: Anton Melser <melser.anton@dont-contact.us>
Date: Mon, 9 Jul 2007 19:06:03 +0200

That's just perfect thanks Hendrik! Those 2.6 docs are going to be my friend!
Cheers
Anton

On 09/07/07, Henrik Nordstrom <henrik@henriknordstrom.net> wrote:
> fre 2007-07-06 klockan 08:58 +0200 skrev Anton Melser:
>
> > Thanks for that. It's not entirely clear from the docs... So do I need
> > something like:
> >
> > acl sitea dstdomain my.site.com
> >
> > logformat sitea %>a %ui %un [%tl] "%rm %ru HTTP/%rv" %Hs %<st
> > "%{Referer}>h" "%{User-Agent}>h" %Ss:%Sh
> > access_log /var/log/squid/combined.log sitea
>
> Almost..
>
> access_log /var/log/squid/combined.log sitea sitea
>
> the first is the log format, the second the acl filtering what to log
> there..
>
>
> > This doesn't seem possible from the docs
> > (http://www.visolve.com/squid/squid30/logs.php) but the docs are for
> > squid 3!
>
> See squid.conf.default for the right documentation for your Squid
> version, or
> http://www.squid-cache.org/Versions/v2/2.6/cfgman/access_log.html for
> the online version for 2.6.
>
> Regards
> Henrik
>
>
Received on Mon Jul 09 2007 - 11:06:17 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Aug 01 2007 - 12:00:03 MDT