On Mon, Feb 01, 2010 at 01:20:21AM +0200, Graham Leggett wrote:
> Definitely sounds good in principle.
thanks.
> Would it be possible to update the
> documentation for this as well? It involves updating the XML files in the
> documentation tree.
Sure. Here you go:
/data/svn/apache-2.2.x-docs/manual/mod>svn diff
Index: mod_log_config.xml
===================================================================
--- mod_log_config.xml (revision 905403)
+++ mod_log_config.xml (working copy)
@@ -159,6 +159,9 @@
<tr><td><code>%r</code></td>
<td>First line of request</td></tr>
+ <tr><td><code>%R</code></td>
+ <td>The handler generating the response (if any).</td></tr>
+
<tr><td><code>%s</code></td>
<td>Status. For requests that got internally redirected, this is
the status of the *original* request --- <code>%>s</code>
@@ -267,6 +270,11 @@
format provided by <module>mod_logio</module> will log the
actual number of bytes sent over the network.</p>
+ <p><code class="module"><a
href="../mod/mod_cache.html">Mod_cache</a></code>
+ is implemented as a quick-handler and not as a standard handler.
+ Therefore, the <code>%R</code> format string will not return
+ any handler information when content caching is involved.</p>
+
</section>
<section id="examples"><title>Examples</title>
I think the remark about mod_cache is necessary as a caveat.
(Hints on how I could extend my patch to log mod_cache too
are welcome.)
regs,
Christian
--
The past is the father of the present.
--- Hercule Poirot in Agatha Christie's "Halloween Party"