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