mod_logio.html.en revision 4aa805f8500255bc52a4c03259fe46df10a1d07c
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<?xml version="1.0" encoding="ISO-8859-1"?>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
1e83c8de3aa48b316b28057d53995272baf1260cwrowe XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1e83c8de3aa48b316b28057d53995272baf1260cwrowe This file is generated from xml source: DO NOT EDIT
1e83c8de3aa48b316b28057d53995272baf1260cwrowe XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1e83c8de3aa48b316b28057d53995272baf1260cwrowe -->
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<title>mod_logio - Apache HTTP Server</title>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<link href="/style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<link href="/style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<link href="/style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<link href="/images/favicon.ico" rel="shortcut icon" /></head>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<body>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<div id="page-header">
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<p class="menu"><a href="/mod/">Modules</a> | <a href="/mod/directives.html">Directives</a> | <a href="/faq/">FAQ</a> | <a href="/glossary.html">Glossary</a> | <a href="/sitemap.html">Sitemap</a></p>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<p class="apache">Apache HTTP Server Version 2.1</p>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<img alt="" src="/images/feather.gif" /></div>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<div class="up"><a href="./"><img title="&lt;-" alt="&lt;-" src="/images/left.gif" /></a></div>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<div id="path">
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://httpd.apache.org/">HTTP Server</a> &gt; <a href="http://httpd.apache.org/docs-project/">Documentation</a> &gt; <a href="../">Version 2.1</a> &gt; <a href="./">Modules</a></div>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<div id="page-content">
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<div id="preamble"><h1>Apache Module mod_logio</h1>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<div class="toplang">
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<p><span>Available Languages: </span><a href="/en/mod/mod_logio.html" title="English">&nbsp;en&nbsp;</a> |
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<a href="/ja/mod/mod_logio.html" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a></p>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe</div>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<table class="module"><tr><th><a href="module-dict.html#Description">Description:</a></th><td>Logging of input and output bytes per request</td></tr>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<tr><th><a href="module-dict.html#Status">Status:</a></th><td>Base</td></tr>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<tr><th><a href="module-dict.html#ModuleIdentifier">Module�Identifier:</a></th><td>logio_module</td></tr>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<tr><th><a href="module-dict.html#SourceFile">Source�File:</a></th><td>mod_logio.c</td></tr></table>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<h3>Summary</h3>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe
1e83c8de3aa48b316b28057d53995272baf1260cwrowe
1e83c8de3aa48b316b28057d53995272baf1260cwrowe <p>This module provides the logging of input and output number of
1e83c8de3aa48b316b28057d53995272baf1260cwrowe bytes received/sent per request. The numbers reflect the actual bytes
1e83c8de3aa48b316b28057d53995272baf1260cwrowe as received on the network, which then takes into account the
1e83c8de3aa48b316b28057d53995272baf1260cwrowe headers and bodies of requests and responses. The counting is done
1e83c8de3aa48b316b28057d53995272baf1260cwrowe before SSL/TLS on input and after SSL/TLS on output, so the numbers
1e83c8de3aa48b316b28057d53995272baf1260cwrowe will correctly reflect any changes made by encryption.</p>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe
1e83c8de3aa48b316b28057d53995272baf1260cwrowe <p>This module requires <code class="module"><a href="/mod/mod_log_config.html">mod_log_config</a></code>.</p>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe
1e83c8de3aa48b316b28057d53995272baf1260cwrowe</div>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<div id="quickview"><h3 class="directives">Directives</h3>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<p>This module provides no directives.</p>
56e85d89d42a6980f31b800266649efbed338da3wrowe<h3>Topics</h3>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<ul id="topics">
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<li><img alt="" src="/images/down.gif" /> <a href="#formats">Custom Log Formats</a></li>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe</ul><h3>See also</h3>
37ad54b8fd2611b7a4f2b269eec3d27ed784a25dwrowe<ul class="seealso">
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<li><code class="module"><a href="/mod/mod_log_config.html">mod_log_config</a></code></li>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<li><a href="/logs.html">Apache Log Files</a></li>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe</ul></div>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
94b262d3639149df0b02642a9daa6db8bff58577wrowe<div class="section">
94b262d3639149df0b02642a9daa6db8bff58577wrowe<h2><a name="formats" id="formats">Custom Log Formats</a></h2>
94b262d3639149df0b02642a9daa6db8bff58577wrowe
94b262d3639149df0b02642a9daa6db8bff58577wrowe
94b262d3639149df0b02642a9daa6db8bff58577wrowe <p>This modules adds two new logging directives. The characteristics of the
94b262d3639149df0b02642a9daa6db8bff58577wrowe request itself are logged by placing "<code>%</code>" directives in
94b262d3639149df0b02642a9daa6db8bff58577wrowe the format string, which are replaced in the log file by the values as
94b262d3639149df0b02642a9daa6db8bff58577wrowe follows:</p>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe
1e83c8de3aa48b316b28057d53995272baf1260cwrowe <table class="bordered"><tr class="header"><th>Format&nbsp;String</th>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe <th>Description</th></tr>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<tr><td><code>%...I</code></td>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe <td>Bytes received, including request and headers, cannot be
1e83c8de3aa48b316b28057d53995272baf1260cwrowe zero.</td></tr>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<tr class="odd"><td><code>%...O</code></td>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe <td>Bytes sent, including headers, cannot be zero.</td></tr>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe</table>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe
1e83c8de3aa48b316b28057d53995272baf1260cwrowe <p>Usually, the functionality is used like this:</p>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe
1e83c8de3aa48b316b28057d53995272baf1260cwrowe <dl>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe <dt>Combined I/O log format:</dt>
5ac28f3fe2417368757f29cf381338357605fd52wrowe <dd><code>"%h %l %u %t \"%r\" %&gt;s %b \"%{Referer}i\"
e1ad80c048e29e968221817698529d73098f07a4wrowe \"%{User-agent}i\" %I %O"</code></dd>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe </dl>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe</div>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe</div>
37ad54b8fd2611b7a4f2b269eec3d27ed784a25dwrowe<div class="bottomlang">
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<p><span>Available Languages: </span><a href="/en/mod/mod_logio.html" title="English">&nbsp;en&nbsp;</a> |
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<a href="/ja/mod/mod_logio.html" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a></p>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe</div><div id="footer">
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p>
94b262d3639149df0b02642a9daa6db8bff58577wrowe<p class="menu"><a href="/mod/">Modules</a> | <a href="/mod/directives.html">Directives</a> | <a href="/faq/">FAQ</a> | <a href="/glossary.html">Glossary</a> | <a href="/sitemap.html">Sitemap</a></p></div>
94b262d3639149df0b02642a9daa6db8bff58577wrowe</body></html>