On 15 Jul 2014, at 15:38, Rüdiger Plüm <[email protected]> wrote:

> -----Original Message-----
>> From: Eric Covener [mailto:[email protected]]
>> Sent: Dienstag, 15. Juli 2014 15:25
>> To: Apache HTTP Server Development List
>> Subject: Re: stop copying footers to r->headers_in?

>> What do people think about allowing two-character log formats?  I
>> think patch below only breaks someone who had a %XX where XX is a
>> registered two digit tag and they expect the 1 char + literal (seems
>> safe enough to me even for 2.2)
> 
> Is there a way for people with such a setup to fix this with a different 
> config?
> From the top of my head I would say no and that would be a blocker.

%{thing}[label] perhaps? Maybe it's too confusing / contrived, maybe it's not 
needed (yet).


Like this, for an imaginary new format string label %[foo]
LogFormat "%{%Y-%m-%d}tT%{%H:%M:%S}t%{usec_frac}t %{usec_frac}[foo]"

and for another label %[bar]:
LogFormat "%{sec}t%{msec_frac}t %>s %<[bar] %<L" "%{REQUEST_STATUS} -strcmatch 
'5*'"


-- 
Tim Bannister – [email protected]

Reply via email to