]> granicus.if.org Git - apache/commitdiff
Note that nicknames can't be recursively defined.
authorJoshua Slive <slive@apache.org>
Fri, 23 Aug 2002 15:29:21 +0000 (15:29 +0000)
committerJoshua Slive <slive@apache.org>
Fri, 23 Aug 2002 15:29:21 +0000 (15:29 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96497 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_log_config.html.en
docs/manual/mod/mod_log_config.xml

index 3655e33c1e8d1e42d16d8ad7c4a2002d2ba39691..0d7a61a98bcb380a5b4550dd960a6a75fb94fbb7 100644 (file)
@@ -283,7 +283,8 @@ Conditional logging available in 1.3.5 or later.</td></tr></table></td></tr></ta
 <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\" %&gt;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 @@ host</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Status" class
     <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>
 
index 460ce0e7a4959e5e9faeeaee7ef2924196c8e181..294789e64df21baf11bf5963aba9def160625d4f 100644 (file)
@@ -313,6 +313,7 @@ Conditional logging available in 1.3.5 or later.</compatibility>
 <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 @@ host</context></contextlist>
     <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>