Re: [squid-users] helper output in logs

From: Eliezer Croitoru <eliezer_at_ngtech.co.il>
Date: Sun, 04 Aug 2013 21:52:00 +0300

On 08/04/2013 09:46 PM, Alfredo Rezinovsky wrote:
> El 02/08/13 18:03, Amos Jeffries escribió:
>> On 3/08/2013 3:37 a.m., Alfredo Rezinovsky wrote:
>>> I'm using store_id_program and I want my program to ouput a Key/Value
>>> pair so the value goes in the logs
>>>
>>> I tried with "log" and "tag" keys and using "%[et" and "%[ea" in
>>> LogFormat but it didn't worked.
>>>
>>> There's a generic Key/Value handling or each helper needs a special
>>> support ?
>>
>> See the new %note token. The intention is to make the keys sent back
>> available as annotations, including custom ones from any helper.
>> It is not quite working for all helpers yet (assistance with that
>> welcome), but should be working for the store-ID ones.
>>
> The "%{my_key}note" in logformat worked exactly as I wanted.
> It does work with store-id keys
>
> Thanks.
>
>
Can you share the squid.conf output??
So others can see how it's being done properly?

Thanks,
Eliezer
Received on Sun Aug 04 2013 - 18:52:52 MDT

This archive was generated by hypermail 2.2.0 : Mon Aug 05 2013 - 12:00:17 MDT