[squid-users] Accelerator Mode, was Http compatible logs with Host: info

From: Darryl L. Miles <darryl@dont-contact.us>
Date: Fri, 05 Aug 2005 16:18:20 +0100

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
Received on Fri Aug 05 2005 - 09:18:24 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Sep 01 2005 - 12:00:01 MDT