httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk-Willem van Gulik <di...@webweaving.org>
Subject Re: [PATCH] allow literal percent sign in logformat strings
Date Mon, 25 Nov 2002 15:58:14 GMT

+1 - this one has been on my list for a long time to fix :-)

Dw

On Mon, 25 Nov 2002, William A. Rowe, Jr. wrote:

> Cool facility.  Applied in 2.0 and 2.1.  Care to author the docs patch?
>
> I looked for different places to 'stick' this logic, and didn't find a better
> alternative :-)  Moving it to the switch block would give us interesting
> side effects such as %{comment}% being replaced with a literal '%',
> but on the whole testing for a second '%' only once seemed like the
> best and most optimal course.
>
> Bill
>
> At 09:36 PM 11/21/2002, André Malo wrote:
> >This is a feature, I'm already missing a long time. However, the attached
> >patch allows the percent sign to be put into the log format string "as
> >usual", for example:
> >
> >LogFormat '... %{deflate-ratio}n%% ...'
> >
> >would result in "... 56% ..."
> >
> >nd
> >--
> >Treat your password like your toothbrush. Don't let anybody else
> >use it, and get a new one every six months.  -- Clifford Stoll
> >
> >                                    (found in ssl_engine_pphrase.c)
>
>
>


Mime
View raw message