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
This archive was generated by hypermail pre-2.1.9 : Wed Aug 01 2007 - 12:00:03 MDT