diff options
author | Ian Holsman <ianh@apache.org> | 2002-01-10 01:03:41 +0000 |
---|---|---|
committer | Ian Holsman <ianh@apache.org> | 2002-01-10 01:03:41 +0000 |
commit | 23360cd00722da92e8104afdb7b097d6405258af (patch) | |
tree | 4a3a764d654879d3805f70dc4dc4beaf4eafb39d /docs/manual | |
parent | 7e1113f913afac2f19370be8f300b32a3053eafb (diff) | |
download | httpd-23360cd00722da92e8104afdb7b097d6405258af.tar.gz |
new option LogExcludeByType
main use is so that you can ignore logging images
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92792 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual')
-rw-r--r-- | docs/manual/mod/mod_log_config.html | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/docs/manual/mod/mod_log_config.html b/docs/manual/mod/mod_log_config.html index 81088ae478..39e2b9e4cf 100644 --- a/docs/manual/mod/mod_log_config.html +++ b/docs/manual/mod/mod_log_config.html @@ -54,6 +54,7 @@ <li><a href="#customlog">CustomLog</a></li> + <li><a href="#logexcludebytype">LogExcludeByType</a></li> <li><a href="#logformat">LogFormat</a></li> <li><a href="#transferlog">TransferLog</a></li> @@ -280,6 +281,41 @@ </pre> <hr /> + + <h2><a id="logexcludebytype" name="logexcludebytype">LogExcludeByType</a> directive</h2> + + <p><a href="directive-dict.html#Syntax" + rel="Help"><strong>Syntax:</strong></a> LogExcludeByType + "<em>mimetype</em> <em>mimetype</em> <em>...</em>" [env=[!]<em>environment-variable</em>]<br /> + <a href="directive-dict.html#Context" + rel="Help"><strong>Context:</strong></a> server config, virtual + host<br /> + <a href="directive-dict.html#Status" + rel="Help"><strong>Status:</strong></a> Base<br /> + <a href="directive-dict.html#Compatibility" + rel="Help"><strong>Compatibility:</strong></a> only + available in Apache 2.0.31 or later. <br /> + <a href="directive-dict.html#Module" + rel="Help"><strong>Module:</strong></a> mod_log_config</p> + + <p>The <code>LogExcludeByType</code> directive is used to not log requests + of certain types of files. for example, you may not want to log requests for + all the gif images on your site</p> + + <p>The first argument, which specifies the mime types to ignore. These values + are space seperated and are in the simliar to image/gif. (To figure out what mime + type a certain file is, try looking at the request headers it returns where you request it) + + <p>The third argument is optional and allows the decision on + whether or not to log a particular request to be 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=!<em>name</em></code>' clause), then the + request will be logged.</p> + + <hr /> + <h2><a id="logformat" name="logformat">LogFormat</a> directive</h2> <!--%plaintext <?INDEX {\tt LogFormat} directive> --> |