]> granicus.if.org Git - apache/commitdiff
document GlobalLog
authorEric Covener <covener@apache.org>
Fri, 25 Dec 2015 17:12:32 +0000 (17:12 +0000)
committerEric Covener <covener@apache.org>
Fri, 25 Dec 2015 17:12:32 +0000 (17:12 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1721685 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_log_config.xml

index d6ec402a7ab2a9207c0c6e9277f38784fc57e249..f9fb7ba4b764d735a75a6ead07e8304592f6de4a 100644 (file)
@@ -607,4 +607,33 @@ TransferLog "logs/access_log"
 </usage>
 </directivesynopsis>
 
+<directivesynopsis>
+<name>GlobalLog</name>
+<description>Sets filename and format of log file</description>
+<syntax>GlobalLog  <var>file</var>|<var>pipe</var>|<var>provider</var>
+<var>format</var>|<var>nickname</var>
+[env=[!]<var>environment-variable</var>|
+expr=<var>expression</var>]</syntax>
+<contextlist><context>server config</context>
+</contextlist>
+
+<usage>
+
+    <p>The <directive>GlobalLog</directive> directive defines a log shared
+       by the main server configuration and all defined virtual hosts.</p>
+
+    <p>The <directive>GlobalLog</directive> directive is identical to
+    the <directive>CustomLog</directive> directive, apart from the following
+    differences:</p>
+    <ul>
+       <li><directive>GlobalLog</directive> is not valid in virtual host
+            context.</li>
+       <li><directive>GlobalLog</directive> is used by virtual hosts that
+           define their own <directive>CustomLog</directive>, unlike a 
+           globally specified <directive>CustomLog</directive>.</li>
+    </ul>
+</usage>
+</directivesynopsis>
+
+
 </modulesynopsis>