]> granicus.if.org Git - apache/commitdiff
Clarify meaning of %[bB] and note difference from 1.3.
authorJoe Orton <jorton@apache.org>
Mon, 24 Jan 2005 15:57:00 +0000 (15:57 +0000)
committerJoe Orton <jorton@apache.org>
Mon, 24 Jan 2005 15:57:00 +0000 (15:57 +0000)
Reviewed by: nd, slive

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@126297 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_log_config.xml

index 102bd743384ddb9d1862c77b1be0d3e12772efb2..562d4c604401d0569998fb8f74a4670c3b0a9dff 100644 (file)
         <td>Local IP-address</td></tr>
 
     <tr><td><code>%...B</code></td>
-        <td>Bytes sent, excluding HTTP headers.</td></tr>
+        <td>Size of response in bytes, excluding HTTP headers.</td></tr>
 
     <tr><td><code>%...b</code></td>
-        <td>Bytes sent, excluding HTTP headers. In CLF format, <em>i.e.</em>
+        <td>Size of response in bytes, excluding HTTP headers. In CLF format, <em>i.e.</em>
         a '<code>-</code>' rather than a 0 when no bytes are sent.</td></tr>
 
     <tr><td><code>%...{<var>Foobar</var>}C</code></td>
     a backslash, and all whitespace characters which are written in their
     C-style notation (<code>\n</code>, <code>\t</code> etc).</p>
 
+    <p>Note that in httpd 2.0, unlike 1.3, the <code>%b</code> and
+    <code>%B</code> format strings do not represent the number of
+    bytes sent to the client, but simply the size in bytes of the HTTP
+    response (which will differ, for instance, if the connection is
+    aborted, or if SSL is used).  The <code>%O</code> format provided
+    by <module>mod_logio</module> will log the actual number of bytes
+    sent over the network.</p>
+
     <p>Some commonly used log format strings are:</p>
 
     <dl>