Re: [squid-users] How do you exclude a specific URL from being logged to access.log.

From: Henrik Nordstrom <[email protected]>
Date: Fri, 23 Jan 2004 22:20:08 +0100 (CET)

On Fri, 23 Jan 2004, Brendan Kelliher wrote:

> I've been looking at your site: devel.squid-cache.org/customlog/
> I can see how it allows configuring everything in access.log, but I'm
> missing how one might exclude a specific URL with it.
>
>
> To exclude viewbonds.com, would it be something in squid.conf like:
> logformat <logformat_name> <definition string>
> access_log /path/to/file logformat_name !www.viewbonds.com

Almost, except that you need to define an acl for www.viewbonds.com and
use the acl here..

Regards
Henrik
Received on Fri Jan 23 2004 - 14:20:15 MST

This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:08 MST