Search squid archive

Re: helper output in logs

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

 



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.






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

  Powered by Linux