RE: [squid-users] Filtering log data

From: David <david.koch@dont-contact.us>
Date: Fri, 3 Mar 2006 17:26:38 +0100

Hi,

I tried:

acl logHTML rep_mime_type text/html
logformat combined <standard combined stuff here> access_log
/var/log/squid/access.log combined logHTML

But I get an error message "acl not defined". Any idea what might be wrong?

Thank you,

David

-----Original Message-----
From: Henrik Nordstrom [mailto:henrik@henriknordstrom.net]
Sent: Dienstag, 28. Februar 2006 15:43
To: David
Cc: squid-users@squid-cache.org
Subject: RE: [squid-users] Filtering log data

tis 2006-02-28 klockan 15:21 +0100 skrev David:
> Hi again,
>
> Would the following be correct for logging only text/html?
>
>
> # MIME acl rules:
>
> acl myMimeType req_mime_type text/html acl all req_mime_type
>
> access_log <filepath> <logformat name> allow myMimeType allow all

you need to use rep_mime_type... (reply mime type, not request mime
type)

acl HTML rep_mime_type text/html
access_log /path/to/file.log format_to_use HTML

Regards
Henrik
Received on Fri Mar 03 2006 - 09:26:48 MST

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