Contents
- Overview
- Installation & Uninstallation
- Local and remote management using IIS 7
- Context and processing order
- Apache compatibility
- Modules
- core functions
- mod_antibot
- mod_asis
- mod_auth_basic
- mod_auth_digest
- mod_authn_anon
- mod_authn_dbd
- mod_authn_default
- mod_authn_file
- mod_authz_default
- mod_authz_groupfile
- mod_authz_host
- mod_authz_user
- mod_cache
- mod_dbd
- mod_deflate
- mod_developer
- mod_dir
- mod_disk_cache
- mod_env
- mod_evasive
- mod_expires
- mod_filter
- mod_gzip
- mod_headers
- mod_hotlink
- mod_linkfreeze
- mod_log_config
- mod_logio
- mod_mem_cache
- mod_mime
- mod_proxy
- mod_replace
- mod_rewrite
- mod_seo
- mod_setenvif
- mod_so
- mod_speling
- mod_usertrack
- mod_xsendfile
- Articles
- Release history
- Troubleshooting
- License agreement
mod_logio
Overview
mod_logio 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 and take into account the headers and bodies of requests and responses. The counting is performed before SSL/TLS on input and after SSL/TLS on output, so the numbers will correctly reflect any changes made by encryption.
This module requires mod_log_config.
Format String
The module introduces two new logging directives. The characteristics of the request are logged by placing "%" directives into the format string, which are replaced in the log file by the values as follows:
Format | Description |
---|---|
%I | Bytes received, including request and headers. Cannot be zero |
%O | Bytes sent, including headers. Cannot be zero |
Usually the custom log format with %I & %O directives looks like:
Example
"%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\" %I %O"