You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sl...@apache.org on 2002/08/23 17:29:22 UTC
cvs commit: httpd-2.0/docs/manual/mod mod_log_config.xml mod_log_config.html.en
slive 2002/08/23 08:29:21
Modified: docs/manual/mod mod_log_config.xml mod_log_config.html.en
Log:
Note that nicknames can't be recursively defined.
Revision Changes Path
1.7 +5 -2 httpd-2.0/docs/manual/mod/mod_log_config.xml
Index: mod_log_config.xml
===================================================================
RCS file: /home/cvs/httpd-2.0/docs/manual/mod/mod_log_config.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -b -u -r1.6 -r1.7
--- mod_log_config.xml 31 May 2002 07:31:09 -0000 1.6
+++ mod_log_config.xml 23 Aug 2002 15:29:21 -0000 1.7
@@ -313,6 +313,7 @@
<description>Describes a format for use in a log file</description>
<syntax>LogFormat
<em>format</em>|<em>nickname</em> [<em>nickname</em>]</syntax>
+<default>LogFormat "%h %l %u %t \"%r\" %>s %b"</default>
<contextlist><context>server config</context><context>virtual
host</context></contextlist>
<compatibility>Nickname only available in Apache 1.3 or later.
@@ -340,11 +341,13 @@
<directive>CustomLog</directive> directives rather than
repeating the entire format string. A
<directive>LogFormat</directive>
- directive which defines a nickname <strong>does nothing
+ directive that defines a nickname <strong>does nothing
else</strong> -- that is, it <em>only</em> defines the
nickname, it doesn't actually apply the format and make it the
default. Therefore, it will not affect subsequent
- <directive>TransferLog</directive> directives.</p>
+ <directive>TransferLog</directive> directives. In addition,
+ <directive>TransferLog</directive> cannot use one nickname
+ to define another nickname.</p>
<p>For example:</p>
1.7 +6 -3 httpd-2.0/docs/manual/mod/mod_log_config.html.en
Index: mod_log_config.html.en
===================================================================
RCS file: /home/cvs/httpd-2.0/docs/manual/mod/mod_log_config.html.en,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -b -u -r1.6 -r1.7
--- mod_log_config.html.en 2 Aug 2002 04:35:22 -0000 1.6
+++ mod_log_config.html.en 23 Aug 2002 15:29:21 -0000 1.7
@@ -283,7 +283,8 @@
<hr><h2><a name="LogFormat">LogFormat</a> <a name="logformat">Directive</a></h2><table cellpadding="1" cellspacing="0" border="0" bgcolor="#cccccc"><tr><td><table bgcolor="#ffffff"><tr><td nowrap="nowrap"><strong>Description:
</strong></td><td>Describes a format for use in a log file</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Syntax" class="help">Syntax:
</a></td><td>LogFormat
- <em>format</em>|<em>nickname</em> [<em>nickname</em>]</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Context" class="help">Context:
+ <em>format</em>|<em>nickname</em> [<em>nickname</em>]</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Default" class="help">Default:
+ </a></td><td><code>LogFormat "%h %l %u %t \"%r\" %>s %b"</code></td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Context" class="help">Context:
</a></td><td>server config, virtual
host</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Status" class="help">Status:
</a></td><td>Base</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Module" class="help">Module:
@@ -311,11 +312,13 @@
<code class="directive">CustomLog</code> directives rather than
repeating the entire format string. A
<code class="directive">LogFormat</code>
- directive which defines a nickname <strong>does nothing
+ directive that defines a nickname <strong>does nothing
else</strong> -- that is, it <em>only</em> defines the
nickname, it doesn't actually apply the format and make it the
default. Therefore, it will not affect subsequent
- <code class="directive">TransferLog</code> directives.</p>
+ <code class="directive">TransferLog</code> directives. In addition,
+ <code class="directive">TransferLog</code> cannot use one nickname
+ to define another nickname.</p>
<p>For example:</p>