1
0
mirror of https://github.com/apache/httpd.git synced 2025-12-24 15:01:03 +03:00
Files
apache/docs/manual/mod/mod_logio.xml
Ian Holsman 194829ce9f New Module -- mod_logio.
This adds the ability to log the bytes sent and
received for each request

Submitted by:	Bojan Smojver <bojan@rexursive.com>
Reviewed by:	Justin & Ian


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97000 13f79535-47bb-0310-9956-ffa450edef68
2002-09-28 04:18:35 +00:00

58 lines
1.6 KiB
XML

<?xml version="1.0"?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.en.xsl"?>
<modulesynopsis>
<name>mod_logio</name>
<description>Logging of input and output bytes per request</description>
<status>Base</status>
<sourcefile>mod_logio.c</sourcefile>
<identifier>logio_module</identifier>
<summary>
<p>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.</p>
<p>This module requires <module>mod_log_config</module>.</p>
</summary>
<seealso><a href="../logs.html">Apache Log Files</a></seealso>
<section id="formats">
<title>Custom Log Formats</title>
<p>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:</p>
<table>
<tr><td>%...I:</td>
<td>Bytes received, including request and headers, cannot be zero.</td></tr>
<tr><td>%...O:</td>
<td>Bytes sent, including headers, cannot be zero.</td></tr>
</table>
<p>Usually, the functionality is used like this:</p>
<dl>
<dt>Combined I/O log format:</dt>
<dd><code>"%h %l %u %t \"%r\" %&gt;s %b \"%{Referer}i\"
\"%{User-agent}i\" %I %O"</code></dd>
</dl>
</section>
</modulesynopsis>