From: Rich Bowen Date: Sat, 25 Sep 2010 15:57:41 +0000 (+0000) Subject: A note about per-module logging. X-Git-Tag: 2.3.9~422 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0da0c888430b2a554e6786eea472ee6c2250147e;p=thirdparty%2Fapache%2Fhttpd.git A note about per-module logging. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1001245 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/logs.html.en b/docs/manual/logs.html.en index 69d496fe0a9..fc1c00c53d6 100644 --- a/docs/manual/logs.html.en +++ b/docs/manual/logs.html.en @@ -36,6 +36,7 @@
top
+

Per-module logging

+ + +

The LogLevel directive + allows you to specify a log severity level on a per-module basis. In + this way, if you are troubleshooting a problem with just one + particular module, you can turn up its logging volume without also + getting the details of other modules that you're not interested in. + This is particularly useful for modules such as + mod_proxy or mod_rewrite where you + want to know details about what it's trying to do.

+ +

Do this by specifying the name of the module in your + LogLevel directive:

+ +

+ LogLevel info rewrite:trace5 +

+ +

This sets the main LogLevel to info, but + turns it up to trace5 for + mod_rewrite.

+ +
This replaces the per-module logging directives, such as + RewriteLog, that were present in earlier versions of + the server.
+
top
+

Access Log

diff --git a/docs/manual/logs.xml b/docs/manual/logs.xml index dd44199c7b2..4ac8a6008fb 100644 --- a/docs/manual/logs.xml +++ b/docs/manual/logs.xml @@ -158,6 +158,34 @@ +
+ Per-module logging + +

The LogLevel directive + allows you to specify a log severity level on a per-module basis. In + this way, if you are troubleshooting a problem with just one + particular module, you can turn up its logging volume without also + getting the details of other modules that you're not interested in. + This is particularly useful for modules such as + mod_proxy or mod_rewrite where you + want to know details about what it's trying to do.

+ +

Do this by specifying the name of the module in your + LogLevel directive:

+ + + LogLevel info rewrite:trace5 + + +

This sets the main LogLevel to info, but + turns it up to trace5 for + mod_rewrite.

+ + This replaces the per-module logging directives, such as + RewriteLog, that were present in earlier versions of + the server. +
+
Access Log