]> git.pld-linux.org Git - packages/apache.git/commitdiff
- add note about %b and %B and suggest %O
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 9 Feb 2012 16:05:09 +0000 (16:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-mod_log_config.conf -> 1.4

apache-mod_log_config.conf

index c2c0ae67b0dc6fedc004514b2dfecd214238097b..7c4c4865768b1ebe5aed595c3f2f10057917739f 100644 (file)
@@ -6,6 +6,15 @@ LoadModule log_config_module modules/mod_log_config.so
        # The following directives define some format nicknames for use with
        # a CustomLog directive (see below).
        #
+       # NOTE: 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.
+       #
+       # So if you need to log actual bytes sent (for example log analyzing),
+       # install mod_logio and use %O instead of %b.
+
        LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
        LogFormat "%h %l %u %t \"%r\" %>s %b" common
 
This page took 0.036067 seconds and 4 git commands to generate.