Search squid archive

RE: Filtering log data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxx] 
Sent: Samstag, 4. März 2006 03:37
To: David
Cc: squid-users@xxxxxxxxxxxxxxx
Subject: RE:  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



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux