Re: [squid-users] logging options and performance effects

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 26 Aug 2003 09:17:26 +0200

On Tuesday 26 August 2003 05.55, John Habermann wrote:
> Thanks for the link Henrik. I have downloaded the patch and applied
> it against the latest stable source squid-2.5.STABLE3. I had 2
> hunks get refected against client_side.c.

You defenitely want to correct these two, or else you Squid will leak
memory.

You will most likely have higher success applying the patch to a later
Squid-2.5 version (i.e. the current squid-2.5 snapshot releases).

> logging any different that it was before. I added
> logformat combined %>a %ui %un [%tl] "%rm %ru HTTP/%rv" %Hs %<st
> "%{Referer}>h" "%{User-Agent}>h" %Ss:%Sh
> access_log /usr/local/squid/var/logs/access.log

You also need to tell the access_log directive which log format to use
for the log file. If not it will default to the old format..

access_log /usr/local/squid/var/logs/access.log common

Regards
Henrik

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
If you need commercial Squid support or cost effective Squid or
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Received on Tue Aug 26 2003 - 01:19:01 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:19:07 MST