On 06/07/07, Adrian Chadd <adrian@xxxxxxxxxxxxxxx> wrote:
On Thu, Jul 05, 2007, Anton Melser wrote: > Hi, > I had a look but couldn't see any way to split up a log for different > sites being reverse proxied. Is this possible? Squid-2.6 introduced the ability to use ACLs and multiple access log lines to determine which log gets which requests.
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 This doesn't seem possible from the docs (http://www.visolve.com/squid/squid30/logs.php) but the docs are for squid 3! Thanks Anton