X-Git-Url: https://git.tld-linux.org/?p=packages%2Fapache.git;a=blobdiff_plain;f=apache-mod_log_config.conf;h=298a5d4eb4497a2a677f89f99685c10ba6481b94;hp=48f9dc2c7024585004d98eee17ea05a80f4f5f2f;hb=f13f85964fc303b8f372ee81cd9e141a25f0b8ad;hpb=90c90df612ee7fed362476fa3c431b405616737d diff --git a/apache-mod_log_config.conf b/apache-mod_log_config.conf index 48f9dc2..298a5d4 100644 --- a/apache-mod_log_config.conf +++ b/apache-mod_log_config.conf @@ -1,4 +1,3 @@ - apache-mod_log_config.conf,v 1.3 2005/12/19 15:13:03 glen Exp $ LoadModule log_config_module modules/mod_log_config.so @@ -6,6 +5,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