You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2004/05/07 18:41:32 UTC
DO NOT REPLY [Bug 28832] New: -
Description of %b parameter in logdoes not conform to reality
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28832>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28832
Description of %b parameter in logdoes not conform to reality
Summary: Description of %b parameter in logdoes not conform to
reality
Product: Apache httpd-2.0
Version: 2.0-HEAD
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: Documentation
AssignedTo: bugs@httpd.apache.org
ReportedBy: jhp@csol.org
The %b parameter, as described in both docs/logs.html and
docs/mod/mod_log_config.html has a different behavior as described. The
description in the latter is:
%.. B: Bytes sent, excluding HTTP headers.
%...b: Bytes sent, excluding HTTP headers. In CLF format
i.e. a '-' rather than a 0 when no bytes are sent.
But according to <a href="/bugzilla/show_bug.cgi?id=8996">Bug 8996</a>, the
result in the case of fixed length objects is the size of the object. I am not
sure what the result is for dynamic content. Quoting the resolution of the cited
bug: "Use mod_logio instead (%I and %O). It will report the correct values. %b
or %B have broken semantics that we will not be fixing. Some rely on having the
%b and %B be what was intended to be written rather than what was really written
- don't ask - it was a major point of contention on the development lists."
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org