I run squid in httpd accelerator mode, the cache fronts multiple
websites served by Apache on a single IP using normal HTTP-1.1
virtually hosted by name, with Host: header.
When not using squid, apache allows each website to maintain its own
logfile so to get stats I just use that websites logfiles.
However...
I would like my squid array to generate for each request both:
* Squid access.log, and
* A Apache http style log format that is compatible with Apache
combined format (includes Referer and User-Agent).
I want to run squid analyser on caching stats (for my own management
purposes) and a Apache analyser for per website stats so that each
websites accounting still works. If I can only have one logfile I'd
choose the Apache style over the squid style.
Since the default Apache logfile does not need to record the Host:
header then I would like squid to output a log entry that simply
includes the Host: header given infront of the URL possibling in a full
URL format (with http:// on front).
I'm sure I can't be the only one in the world who needs to account for
site transfer on a per site basis and use multiple squids and a hardware
load balancer to handle the throughput.
Any pointers to resources would be appreciated.
Darryl
--
Darryl L. Miles