Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.sao.ru/tb/manual/en/mod/mod_logio.html
Дата изменения: Fri Dec 10 21:54:12 2010 Дата индексирования: Tue Oct 2 07:09:48 2012 Кодировка: Поисковые слова: п п п п п п п п п п п |
Apache HTTP Server Version 2.2
Description: | Logging of input and output bytes per request |
---|---|
Status: | Extension |
Module Identifier: | logio_module |
Source File: | mod_logio.c |
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 requires mod_log_config
.
This module provides no directives.
This modules adds two 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. |
Usually, the functionality is used like this:
"%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-agent}i\" %I %O"