Search squid archive

RE: Filtering log data

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

 



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

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


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

  Powered by Linux