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

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 5 Aug 2005 18:43:55 +0200 (CEST)

On Fri, 5 Aug 2005, Darryl L. Miles wrote:

> 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.

It should still when using Squid.. but the Apache logs is perhaps not as
valueable then..

> 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).

See the custom log formats patch, available from
http://devel.squid-cache.org/

This patch both allows you to specify the log format, and also ability to
log to multiple log files.

> 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.

You are not.

Regards
Henrik
Received on Fri Aug 05 2005 - 10:43:58 MDT

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