RE: [squid-users] Filtering log data

From: David <david.koch@dont-contact.us>
Date: Sat, 4 Mar 2006 13:44:20 +0100

Hi,

Thank you for the information and the patch. I will relay this to our admin.
One more question. You asked if the lines were in the exact same order. Do
they need to be? Is squid.conf read sequentially?

Thank you and have a nice weekend,

David

-----Original Message-----
From: Henrik Nordstrom [mailto:henrik@henriknordstrom.net]
Sent: Samstag, 4. März 2006 03:37
To: David
Cc: squid-users@squid-cache.org
Subject: RE: [squid-users] Filtering log data

fre 2006-03-03 klockan 17:26 +0100 skrev David:

> 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?

Looks fine to me, and my Squid+custom_log does not complain. Are you sure
the lines are in the above order?

But just tested this here and rep_mime_type did not work in access_log,
never matched anything. This has been corrected in the CVS branch and should
get publised as a new patch in a few hours. Please note that the updated
patch is relative to current Squid-2.5 (what will become
2.5.STABLE13) and won't apply to 2.5.STABLE12.

The fix to the old patch is simply to add the following line

        http->acl_checklist->reply = http->al.reply;

just before the following line in client_side.c:

        if (!Config.accessList.log || aclCheckFast(Config.accessList.log,
http->acl_checklist)) {

Regards
Henrik
Received on Sat Mar 04 2006 - 05:44:21 MST

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