Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 22094 invoked from network); 6 Jun 2010 17:08:34 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Jun 2010 17:08:34 -0000 Received: (qmail 65820 invoked by uid 500); 6 Jun 2010 17:08:34 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 65624 invoked by uid 500); 6 Jun 2010 17:08:34 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 65617 invoked by uid 99); 6 Jun 2010 17:08:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Jun 2010 17:08:34 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Jun 2010 17:08:31 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 1EF5E23888CB; Sun, 6 Jun 2010 17:08:10 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r951901 - /httpd/httpd/trunk/docs/manual/mod/core.xml Date: Sun, 06 Jun 2010 17:08:10 -0000 To: cvs@httpd.apache.org From: sf@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100606170810.1EF5E23888CB@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: sf Date: Sun Jun 6 17:08:09 2010 New Revision: 951901 URL: http://svn.apache.org/viewvc?rev=951901&view=rev Log: Update LogLevel docs Modified: httpd/httpd/trunk/docs/manual/mod/core.xml Modified: httpd/httpd/trunk/docs/manual/mod/core.xml URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/core.xml?rev=951901&r1=951900&r2=951901&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/mod/core.xml (original) +++ httpd/httpd/trunk/docs/manual/mod/core.xml Sun Jun 6 17:08:09 2010 @@ -2179,10 +2179,15 @@ matching URLs LogLevel Controls the verbosity of the ErrorLog -LogLevel level +LogLevel [module:]level + [module:level] ... + LogLevel warn server configvirtual host +directory +Per-module and per-directory configuration is available in + Apache HTTP Server 2.3.6 and later

LogLevel adjusts the verbosity of the @@ -2268,6 +2273,62 @@ matching URLs "Opening config file ..." + + trace1 + + Trace messages + + "proxy: FTP: control connection complete" + + + trace2 + + Trace messages + + "proxy: CONNECT: sending the CONNECT request to the remote proxy" + + + trace3 + + Trace messages + + "openssl: Handshake: start" + + + trace4 + + Trace messages + + "read from buffered SSL brigade, mode 0, 17 bytes" + + + trace5 + + Trace messages + + "map lookup FAILED: map=rewritemap key=keyname" + + + trace6 + + Trace messages + + "cache lookup FAILED, forcing new map lookup" + + + trace7 + + Trace messages, dumping large amounts of data + + "| 0000: 02 23 44 30 13 40 ac 34 df 3d bf 9a 19 49 39 15 |" + + + trace8 + + Trace messages, dumping large amounts of data + + "| 0000: 02 23 44 30 13 40 ac 34 df 3d bf 9a 19 49 39 15 |" +

When a particular level is specified, messages from all @@ -2291,6 +2352,36 @@ matching URLs logged. However, this doesn't apply when logging is done using syslog.

+ +

Specifying a level without a module name will reset the level + for all modules to that level. Specifying a level with a module + name will set the level for that module only. It is possible to + use the module source file name, the module identifier, or the + module identifier with the trailing _module ommited + as module specification. This means the following three specifications + are equivalent:

+ + + LogLevel info ssl:warn
+ LogLevel info mod_ssl.c:warn
+ LogLevel info ssl_module:warn
+
+ +

It is also possible to change the level per directory:

+ + + LogLevel info
+ <Directory /usr/local/apache/htdocs/app>
+   LogLevel debug
+ </Files> +
+ + + Per directory loglevel configuration only affects messages that are + logged after the request has been parsed and that are associated with + the request. Log messages which are associated with the connection or + the server are not affected. +