Evan Champion wrote:
Hi, I am considering using squid as to grant restricted access to a large set of internal corporate applications. I would like the access log to include the name of the ACL that matched (i.e. the name of the application). logformat does not seem to have an option for logging the ACL name or other arbitrary text associated with the request. Is there a way to do this?
ACL name is a hard one, because _many_ unrelated ACL often have to match to both match and fail for one request. This full information is traced in cache.log in debug section 28.
Arbitrary details about the request, reply, client and source server are available in logformat.
ACL names are not associated with particular requests. Neither are routing details of how it was processed by Squid. Thats what cache.log is for.
Amos -- Please be using Current Stable Squid 2.7.STABLE7 or 3.0.STABLE20 Current Beta Squid 3.1.0.14