RE: [squid-users] Custom Log

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Tue, 21 Mar 2006 14:48:14 +0100

tis 2006-03-21 klockan 02:02 +0200 skrev Cole:
> Hi.
>
> Im sorry to bother you again with this.
>
> When you mean can be extracted as "Content-Length request header", does that mean that I would have
> to log all the request headers and then run some sort of script to extract them all and work out
> their relevant sizes?

Only if you are not using the custom log format..

> Or is there some kind of special trick to get it to print just the size
> without the entire header being logged?

Read the log_format documentation in squid.conf.default. There is full
support for logging either request or response headers. Even specific
fields of a header or specific cookies can be logged if you like..

Regards
Henrik

Received on Tue Mar 21 2006 - 06:48:34 MST

This archive was generated by hypermail pre-2.1.9 : Sat Apr 01 2006 - 12:00:04 MST