ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaie_5.4.0.1/rzaiemod_log_io.htm

71 lines
4.2 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="topic" />
<meta name="DC.Title" content="Module mod_log_io" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2002,2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2002,2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzaiemod_log_io" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Module mod_log_io</title>
</head>
<body id="rzaiemod_log_io"><a name="rzaiemod_log_io"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<!--Java sync-link--><h1 class="topictitle1">Module mod_log_io</h1>
<div><div class="important"><span class="importanttitle">Important:</span> Information
for this topic supports the latest PTF levels for HTTP Server for i5/OS .
It is recommended that you install the latest PTFs to upgrade to the latest
level of the HTTP Server for i5/OS. Some of the topics documented here are
not available prior to this update. See <a href="http://www-03.ibm.com/servers/eserver/iseries/software/http/services/service.html" target="_blank">http://www.ibm.com/servers/eserver/iseries/software/http/services/service.htm</a> <img src="www.gif" alt="Link outside Information Center" /> for more information. </div>
<p><strong>Summary</strong></p>
<p>This module provides the logging of input and output number of bytes received
and sent per request. The numbers reflect the actual bytes 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. The numbers will correctly reflect any changes made by encryption.
</p>
<p>This module requires <a href="rzaiemod_log_config.htm">Module
mod_log_config</a>, and is loaded by default. No LoadModule statement
is required. </p>
<p>This module adds two new logging formats. The characteristics of the request
itself are logged by placing <samp class="codeph">"%"</samp> directives in the format
string, which are replaced in the log file by the values as follows: <samp class="codeph">Format String
Description %...I</samp> </p>
<p>Bytes received, including request and headers, cannot be zero (<samp class="codeph">%...O</samp>).
Bytes sent, including headers, cannot be zero.</p>
<p><strong>Format String Description</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><thead align="left"><tr><th valign="top" width="21.21212121212121%" id="d0e53">String</th>
<th valign="top" width="78.78787878787878%" id="d0e55">Description</th>
</tr>
</thead>
<tbody><tr><td valign="top" width="21.21212121212121%" headers="d0e53 ">%...I</td>
<td valign="top" width="78.78787878787878%" headers="d0e55 ">Bytes received, including request and headers, cannot
be zero.</td>
</tr>
<tr><td valign="top" width="21.21212121212121%" headers="d0e53 ">%...O</td>
<td valign="top" width="78.78787878787878%" headers="d0e55 ">Bytes sent, including headers, cannot be zero.</td>
</tr>
</tbody>
</table>
</div>
<p><strong>Example: Combined I/O log format</strong></p>
<blockquote><pre>"%h %l %u %t \"%r\" %&gt;s %b \"%{Referer}i\" \"%{User-agent}i\" %I %O" </pre>
</blockquote>
</div>
</body>
</html>