Apache Module mod_logio
This module provides the logging of input and output number of bytes received/sent per request. The numbers reflect the actual bytes as 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, so the numbers will correctly reflect any changes made by encryption.
This module adds three new logging directives. 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. | %S | Bytes transferred (received and sent), including request and headers, cannot be zero. This is the combination of %I and %O. Available in Apache 2.4.7 and later |
Usually, the functionality is used like this:
"%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\" %I %O"
Modules | Directives | FAQ | Glossary | Sitemap
Apache HTTP Server Version 2.4
Modules
Modules | Directives | FAQ | Glossary | Sitemap
Apache Module mod_logio
Available Languages: en | fr | ja | ko | tr
en
Available Languages: en | fr | ja | ko | tr
Apache License, Version 2.0
Copyright 2014 The Apache Software Foundation.Licensed under the Apache License, Version 2.0.