[squid-users] RE: external_acl_type log= tag, access.log help

From: Jason McGuidwin <Jason.McGuidwin_at_gnostech.com>
Date: Tue, 8 May 2012 16:09:04 -0400

I figured it out.

I needed to create a custom logformat for the access log in my squid.conf to
include the %ea tag.
http://www.squid-cache.org/Doc/config/logformat/

logformat custom %ea

access_log c:/squid/var/logs/access.log custom

Thanks,
Jason

-----Original Message-----
From: Jason McGuidwin [mailto:Jason.McGuidwin_at_gnostech.com]
Sent: Tuesday, May 08, 2012 10:18 AM
To: squid-users_at_squid-cache.org
Subject: [squid-users] external_acl_type log= tag, access.log help

My squid conf works as it should except the log information is not being
written to the access.log from a external acl.
http://www.squid-cache.org/Doc/config/external_acl_type/

I am trying to pass log information back from an external_acl however the
log info is not being written to the access log.

When in debug mode the cache log will display the retuned info.
For Example:
ExternalAclHandleReply: reply="OK log="test""
or "ExternalAclHandleReply: reply="ERR log="test""

The log text should be written into the access.log but it does not. The
access log does have the file info for each file requested.

Here is my conf and system info.

Thanks,
Jason M

Received on Tue May 08 2012 - 20:10:04 MDT

This archive was generated by hypermail 2.2.0 : Wed May 09 2012 - 12:00:02 MDT