httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bannister <>
Subject Re: stop copying footers to r->headers_in?
Date Tue, 15 Jul 2014 22:10:47 GMT
On 15 Jul 2014, at 15:38, Rüdiger Plüm <> wrote:

> -----Original Message-----
>> From: Eric Covener []
>> 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 –

View raw message