From: Joe Orton Date: Mon, 24 Jan 2005 15:57:00 +0000 (+0000) Subject: Clarify meaning of %[bB] and note difference from 1.3. X-Git-Tag: 2.1.3~105 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=96859f5822e5f94eef930dd5988e8e8b446cc36d;p=apache Clarify meaning of %[bB] and note difference from 1.3. Reviewed by: nd, slive git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@126297 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_log_config.xml b/docs/manual/mod/mod_log_config.xml index 102bd74338..562d4c6044 100644 --- a/docs/manual/mod/mod_log_config.xml +++ b/docs/manual/mod/mod_log_config.xml @@ -77,10 +77,10 @@ Local IP-address %...B - Bytes sent, excluding HTTP headers. + Size of response in bytes, excluding HTTP headers. %...b - Bytes sent, excluding HTTP headers. In CLF format, i.e. + Size of response in bytes, excluding HTTP headers. In CLF format, i.e. a '-' rather than a 0 when no bytes are sent. %...{Foobar}C @@ -237,6 +237,14 @@ a backslash, and all whitespace characters which are written in their C-style notation (\n, \t etc).

+

Note that in httpd 2.0, unlike 1.3, the %b and + %B 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 %O format provided + by mod_logio will log the actual number of bytes + sent over the network.

+

Some commonly used log format strings are: