From: Stefan Fritsch Date: Sun, 6 Jun 2010 17:08:09 +0000 (+0000) Subject: Update LogLevel docs X-Git-Tag: 2.3.6~41 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=41057afadc4c1462583e3360e478633f2342ef15;p=apache Update LogLevel docs git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@951901 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index 06578cb742..76d24c1d39 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -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. +