Search squid archive

Re: helper output in logs

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

 



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




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

  Powered by Linux