Re: [squid-users] Logging only denied requests in access.log

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 20 Dec 2003 11:53:46 +0100 (CET)

On Sat, 20 Dec 2003, David wrote:

> I am wanting/wishing to log only denied requests in the access.log - not all
> requests as per normal. Is there any way to do such a thing without writing
> a wrapper script to prune logs daily? this is purely because I have squid
> located on a firewall which I don't wish to log every request due to disk
> space, IO etc.

Squid-3 (or the curstomlog patch) allows you to use acls to determine what
should be logged (and where). Maybe this can be configured to do close to
what you like.

Regards
Henrik
Received on Sat Dec 20 2003 - 03:53:50 MST

This archive was generated by hypermail pre-2.1.9 : Thu Jan 01 2004 - 12:00:18 MST