mod_logio.html.en revision 4aa805f8500255bc52a4c03259fe46df10a1d07c
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<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<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<div class="up"><a href="./"><img title="<-" alt="<-" src="/images/left.gif" /></a></div>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="../">Version 2.1</a> > <a href="./">Modules</a></div>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<p><span>Available Languages: </span><a href="/en/mod/mod_logio.html" title="English"> en </a> |
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<a href="/ja/mod/mod_logio.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a></p>
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 <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 <p>This module requires <code class="module"><a href="/mod/mod_log_config.html">mod_log_config</a></code>.</p>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<div id="quickview"><h3 class="directives">Directives</h3>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<li><img alt="" src="/images/down.gif" /> <a href="#formats">Custom Log Formats</a></li>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<li><code class="module"><a href="/mod/mod_log_config.html">mod_log_config</a></code></li>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
94b262d3639149df0b02642a9daa6db8bff58577wrowe<h2><a name="formats" id="formats">Custom Log Formats</a></h2>
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 <table class="bordered"><tr class="header"><th>Format String</th>
1e83c8de3aa48b316b28057d53995272baf1260cwrowe <td>Bytes received, including request and headers, cannot be
1e83c8de3aa48b316b28057d53995272baf1260cwrowe <td>Bytes sent, including headers, cannot be zero.</td></tr>
5ac28f3fe2417368757f29cf381338357605fd52wrowe <dd><code>"%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<p><span>Available Languages: </span><a href="/en/mod/mod_logio.html" title="English"> en </a> |
1e83c8de3aa48b316b28057d53995272baf1260cwrowe<a href="/ja/mod/mod_logio.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a></p>
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>