diff options
author | Jeff Trawick <trawick@apache.org> | 2003-04-18 21:40:11 +0200 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2003-04-18 21:40:11 +0200 |
commit | f96aba98f9dc5777c7ba059bac46bd3db6bc4207 (patch) | |
tree | ad2f2d5a6c5cd1a85089da65964b9f51931b7d92 /docs/manual | |
parent | mod_log_config: Add the ability to log the id of the thread (diff) | |
download | apache2-f96aba98f9dc5777c7ba059bac46bd3db6bc4207.tar.xz apache2-f96aba98f9dc5777c7ba059bac46bd3db6bc4207.zip |
change the way that thread id is specified in the log format since
the previous implementation used a format string already taken
by mod_logio
now, an optional %P format is used instead
thanks to Andre' Malo for pointing out that I chose a format string
already used by mod_logio!
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99442 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual')
-rw-r--r-- | docs/manual/mod/mod_log_config.html.en | 20 | ||||
-rw-r--r-- | docs/manual/mod/mod_log_config.xml | 8 |
2 files changed, 16 insertions, 12 deletions
diff --git a/docs/manual/mod/mod_log_config.html.en b/docs/manual/mod/mod_log_config.html.en index 62624559e2..c8685fc95f 100644 --- a/docs/manual/mod/mod_log_config.html.en +++ b/docs/manual/mod/mod_log_config.html.en @@ -97,27 +97,29 @@ <td>Remote host</td></tr> <tr><td><code>%...H</code></td> <td>The request protocol</td></tr> -<tr class="odd"><td><code>%...I</code></td> - <td>The thread id if APR supports threads, otherwise 0</td></tr> -<tr><td><code>%...{<var>Foobar</var>}i</code></td> +<tr class="odd"><td><code>%...{<var>Foobar</var>}i</code></td> <td>The contents of <code><var>Foobar</var>:</code> header line(s) in the request sent to the server.</td></tr> -<tr class="odd"><td><code>%...l</code></td> +<tr><td><code>%...l</code></td> <td>Remote logname (from identd, if supplied). This will return a dash unless <code class="module"><a href="../mod/mod_ident.html">mod_ident</a></code> is present and <code class="directive"><a href="../mod/mod_ident.html#identitycheck">IdentityCheck</a></code> is set <code>On</code>.</td></tr> -<tr><td><code>%...m</code></td> +<tr class="odd"><td><code>%...m</code></td> <td>The request method</td></tr> -<tr class="odd"><td><code>%...{<var>Foobar</var>}n</code></td> +<tr><td><code>%...{<var>Foobar</var>}n</code></td> <td>The contents of note <var>Foobar</var> from another module.</td></tr> -<tr><td><code>%...{<var>Foobar</var>}o</code></td> +<tr class="odd"><td><code>%...{<var>Foobar</var>}o</code></td> <td>The contents of <code><var>Foobar</var>:</code> header line(s) in the reply.</td></tr> -<tr class="odd"><td><code>%...p</code></td> +<tr><td><code>%...p</code></td> <td>The canonical port of the server serving the request</td></tr> -<tr><td><code>%...P</code></td> +<tr class="odd"><td><code>%...P</code></td> <td>The process ID of the child that serviced the request.</td></tr> +<tr><td><code>%...{<var>format</var>}P</code></td> + <td>The process ID and or thread id of the child that serviced the + request. Valid formats are <code>pid</code>, <code>tid</code>, + and <code>pid/tid</code>.</td></tr> <tr class="odd"><td><code>%...q</code></td> <td>The query string (prepended with a <code>?</code> if a query string exists, otherwise an empty string)</td></tr> diff --git a/docs/manual/mod/mod_log_config.xml b/docs/manual/mod/mod_log_config.xml index 846f6c0041..49ff38dbb3 100644 --- a/docs/manual/mod/mod_log_config.xml +++ b/docs/manual/mod/mod_log_config.xml @@ -83,9 +83,6 @@ <tr><td><code>%...H</code></td> <td>The request protocol</td></tr> - <tr><td><code>%...I</code></td> - <td>The thread id if APR supports threads, otherwise 0</td></tr> - <tr><td><code>%...{<var>Foobar</var>}i</code></td> <td>The contents of <code><var>Foobar</var>:</code> header line(s) in the request sent to the server.</td></tr> @@ -113,6 +110,11 @@ <tr><td><code>%...P</code></td> <td>The process ID of the child that serviced the request.</td></tr> + <tr><td><code>%...{<var>format</var>}P</code></td> + <td>The process ID and or thread id of the child that serviced the + request. Valid formats are <code>pid</code>, <code>tid</code>, + and <code>pid/tid</code>.</td></tr> + <tr><td><code>%...q</code></td> <td>The query string (prepended with a <code>?</code> if a query string exists, otherwise an empty string)</td></tr> |