diff options
author | Daniel Gruno <humbedooh@apache.org> | 2012-04-27 14:59:32 +0200 |
---|---|---|
committer | Daniel Gruno <humbedooh@apache.org> | 2012-04-27 14:59:32 +0200 |
commit | 8fa573336000d9ccbcc51209992c8455ea3af05a (patch) | |
tree | cf8ad4fe511e505c85bfa76c98129c7f33c3c657 /docs/manual/mod/mod_log_debug.html.en | |
parent | xforms that somehow snuck past the build system (diff) | |
download | apache2-8fa573336000d9ccbcc51209992c8455ea3af05a.tar.xz apache2-8fa573336000d9ccbcc51209992c8455ea3af05a.zip |
Even more xforms that somehow didn't trigger earlier. I wonder if they're silently revolting against me.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1331408 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/mod/mod_log_debug.html.en')
-rw-r--r-- | docs/manual/mod/mod_log_debug.html.en | 41 |
1 files changed, 22 insertions, 19 deletions
diff --git a/docs/manual/mod/mod_log_debug.html.en b/docs/manual/mod/mod_log_debug.html.en index 3ba6e881db..4c1e2d2099 100644 --- a/docs/manual/mod/mod_log_debug.html.en +++ b/docs/manual/mod/mod_log_debug.html.en @@ -48,20 +48,22 @@ <li> Log message after request to /foo/* is processed: - <div class="example"><p><code> - <Location /foo/><br /> - LogMessage "/foo/ has been requested"<br /> - </Location><br /> - </code></p></div> + <pre class="prettyprint lang-config"> +<Location /foo/> + LogMessage "/foo/ has been requested" +</Location> + </pre> + </li> <li> Log message if request to /foo/* is processed in a sub-request: - <div class="example"><p><code> - <Location /foo/><br /> - LogMessage "subrequest to /foo/" hook=type_checker expr=%{IS_SUBREQ}<br /> - </Location><br /> - </code></p></div> + <pre class="prettyprint lang-config"> +<Location /foo/> + LogMessage "subrequest to /foo/" hook=type_checker expr=%{IS_SUBREQ} +</Location> + </pre> + The default log_transaction hook is not executed for sub-requests, therefore we have to use a different hook. @@ -70,21 +72,22 @@ <li> Log message if an IPv6 client causes a request timeout: - <div class="example"><p><code> - LogMessage "IPv6 timeout from %{REMOTE_ADDR}" - "expr=-T %{IPV6} && %{REQUEST_STATUS} = 408" - </code></p></div> + <pre class="prettyprint lang-config"> + LogMessage "IPv6 timeout from %{REMOTE_ADDR}" "expr=-T %{IPV6} && %{REQUEST_STATUS} = 408" + </pre> + Note the placing of the double quotes for the <code>expr=</code> argument. </li> <li> Log the value of the "X-Foo" request environment variable in each stage of the request: - <div class="example"><p><code> - <Location /><br /> - LogMessage "%{reqenv:X-Foo}" hook=all<br /> - </Location><br /> - </code></p></div> + <pre class="prettyprint lang-config"> +<Location /> + LogMessage "%{reqenv:X-Foo}" hook=all +</Location> + </pre> + Together with microsecond time stamps in the error log, <code>hook=all</code> also allows to determine the times spent in the different parts of the request processing. |