[squid-dev] [PATCH] display debug levels in cache.log

Amos Jeffries squid3 at treenet.co.nz
Tue Aug 11 06:16:23 UTC 2015


On 27/07/2015 5:18 a.m., Alex Rousskov wrote:
> On 07/24/2015 05:57 PM, Amos Jeffries wrote:
> 
>> This patch adds a column containing the relevant debug_options
>> SECTION,LEVEL value for each line right after the kidN number for debug
>> levels 2+.
> 
> 
> Sounds good. If possible, please check the distributed scripts/ that
> parse cache.log and adjust them if necessary to keep them in sync with
> this format change.
> 
> 
> Thank you,
> 
> Alex.
> 

The scripts/find-*.pl seem to work as their either grok the entire line
after "kid[0-9] |" as one piece, or only check for keywords later .

I assume that flexibility was to get around the HERE garbage. But its
also usefully making them cope with this change.


Applied to trunk as rev.14219.


Amos



More information about the squid-dev mailing list