httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <>
Subject Re: [PATCH] allow literal percent sign in logformat strings
Date Mon, 25 Nov 2002 15:38:24 GMT
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.


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% ..."
>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)

View raw message