summaryrefslogtreecommitdiffstats
path: root/docs/manual/mod/mod_log_config.html.en
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2011-11-04 08:29:32 +0100
committerStefan Fritsch <sf@apache.org>2011-11-04 08:29:32 +0100
commit6c4710665ae8a27f35f8f80d8b39ade6b80cf8fa (patch)
treeb08c0f5d423787651a93ceb4be8a1e5226602458 /docs/manual/mod/mod_log_config.html.en
parentUnify syntax of config directives taking an expression as optional contition ... (diff)
downloadapache2-6c4710665ae8a27f35f8f80d8b39ade6b80cf8fa.tar.xz
apache2-6c4710665ae8a27f35f8f80d8b39ade6b80cf8fa.zip
Update transforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1197414 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/mod/mod_log_config.html.en')
-rw-r--r--docs/manual/mod/mod_log_config.html.en15
1 files changed, 8 insertions, 7 deletions
diff --git a/docs/manual/mod/mod_log_config.html.en b/docs/manual/mod/mod_log_config.html.en
index fdf68f12fb..3183e21c1b 100644
--- a/docs/manual/mod/mod_log_config.html.en
+++ b/docs/manual/mod/mod_log_config.html.en
@@ -354,7 +354,8 @@
<tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Sets filename and format of log file</td></tr>
<tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>CustomLog <var>file</var>|<var>pipe</var>
<var>format</var>|<var>nickname</var>
-[env=[!]<var>environment-variable</var>]</code></td></tr>
+[env=[!]<var>environment-variable</var>|
+expr=<var>expression</var>]</code></td></tr>
<tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config, virtual host</td></tr>
<tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Base</td></tr>
<tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_log_config</td></tr>
@@ -410,12 +411,12 @@
</code></p></div>
<p>The third argument is optional and controls whether or
- not to log a particular request based on the
- presence or absence of a particular variable in the server
- environment. If the specified <a href="../env.html">environment
- variable</a> is set for the request (or is not set, in the case
- of a '<code>env=!<var>name</var></code>' clause), then the
- request will be logged.</p>
+ not to log a particular request. The condition can be the
+ presence or absence (in the case of a '<code>env=!<var>name</var></code>'
+ clause) of a particular variable in the server
+ <a href="../env.html">environment</a>. Alternatively, the condition
+ can be expressed as arbitrary boolean <a href="../expr.html">expression</a>. If the condition is not satisfied, the request
+ will not be logged.</p>
<p>Environment variables can be set on a per-request
basis using the <code class="module"><a href="../mod/mod_setenvif.html">mod_setenvif</a></code>