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

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

On Monday 25 August 2003 15.10, Adam Aube wrote:

> As for performance, it could cause a problem, but that will vary
> depending on setup. All you can do is monitor and see if a disk
> bottleneck occurs.

It also risks running into the magic 2GB file size limit rather
quickly unless you rotate your logs frequently.

> > Just curious as to what is the most efficient way to get log
> > files suitable for a log analyser
>
> Most log analyzers look only at the access.log anyway. Most of the
> time you will only need access.log and cache.log.

If your log analyzer need more information than logged in the two log
formats normally available in Squid then see
http://devel.squid-cache.org/customlog/. From there you can find a
patch which adds support for custom log formats to Squid-2.5. The
same functionality is also available as part of Squid-3.0 (no
patching required), but Squid-3.0 is not yet production quality.

-- 
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 Mon Aug 25 2003 - 17:07:41 MDT

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