From: Rich Bowen Date: Mon, 16 Mar 2026 03:43:10 +0000 (+0000) Subject: bz60247 Updates to new log levels and error messages X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9782b28dd82ad1df9f33467c32fb8141c0d74fae;p=thirdparty%2Fapache%2Fhttpd.git bz60247 Updates to new log levels and error messages git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1932317 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/logs.xml b/docs/manual/logs.xml index 11be63478b..5334eb32be 100644 --- a/docs/manual/logs.xml +++ b/docs/manual/logs.xml @@ -119,7 +119,7 @@ [Fri Sep 09 10:42:29.902022 2011] [core:error] [pid 35708:tid 4328636416] - [client 72.15.99.187] File does not exist: /usr/local/apache2/htdocs/favicon.ico + [client 72.15.99.187] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error

The first item in the log entry is the date and time of the @@ -127,9 +127,16 @@ case) and the severity level of that message. This is followed by the process ID and, if appropriate, the thread ID, of the process that experienced the condition. Next, we have the client address - that made the request. And finally is the detailed error message, - which in this case indicates a request for a file that did not - exist.

+ that made the request. And finally is the detailed error message.

+ +

Note that some messages that were previously logged at + error level have been downgraded to info + level in httpd 2.4. For example, "File does not exist" messages + for 404 responses are logged at info level and will + not appear in the error log with the default + LogLevel of warn. + To restore the previous behavior, use + LogLevel warn core:info.

A very wide variety of different messages can appear in the error log. Most look similar to the example above. The error diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index 1ff13985a4..6b2ebb65cb 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -1809,7 +1809,7 @@ ErrorLogFormat "[%{u}t] [%-m:%l] [pid %P:tid %T] %7F: %E: [client\ %a] %M% 

This would result in error messages such as:

- [Thu May 12 08:28:57.652118 2011] [core:error] [pid 8777:tid 4326490112] [client ::1:58619] File does not exist: /usr/local/apache2/htdocs/favicon.ico + [Thu May 12 08:28:57.652118 2011] [core:error] [pid 8777:tid 4326490112] [client ::1:58619] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error

Notice that, as discussed above, some fields are omitted