Summary
This module provides the logging of input and output number of bytes received and sent per request. The numbers reflect the actual bytes received on the network, which then takes into account the headers and bodies of requests and responses. The counting is done before SSL/TLS on input and after SSL/TLS on output. The numbers will correctly reflect any changes made by encryption.
This module requires Module mod_log_config, and is loaded by default. No LoadModule statement is required.
This module adds two new logging formats. The characteristics of the request itself are logged by placing "%" directives in the format string, which are replaced in the log file by the values as follows: Format String Description %...I
Bytes received, including request and headers, cannot be zero (%...O). Bytes sent, including headers, cannot be zero.
Format String Description
String | Description |
---|---|
%...I | Bytes received, including request and headers, cannot be zero. |
%...O | Bytes sent, including headers, cannot be zero. |
Example: Combined I/O log format
"%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\" %I %O"