OK. I will try this. Really, All I am trying to log is the ACL that was matched and the result. Is the default in url_rewrite_extras good enough?
On Mon, Sep 26, 2016 at 5:04 PM, Amos Jeffries <squid3@xxxxxxxxxxxxx> wrote:
On 27/09/2016 2:50 a.m., Michael Pelletier wrote:
> Hello,
>
> I have a custom logformat and I would like to log the results of my url
> rewriter (urlfilterdb). I can't seem to get this to work. Can someone tell
> me the basics?
The helper potocol is outlined at
<http://wiki.squid-cache.org/Features/AddonHelpers#URL_ >.manipulation
Each 'key=' in the helper output gets appended to the HTTP transaction
as an annotation 'note'. The logging can display these via the
%note{key-name} format code.
For older helpers that use the pre-3.4 protocol without kv-pairs their
responses get mapped into the kv-pair format. So you should see the same
%note{url} or %note{rewrite-url} annotations at logging time even with
older helpers.
Amos
_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users
Disclaimer: Under Florida law, e-mail addresses are public records. If you do not want your e-mail address released in response to a public records request, do not send electronic mail to this entity. Instead, contact this office by phone or in writing.
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users