]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
bz60247 Updates to new log levels and error messages
authorRich Bowen <rbowen@apache.org>
Mon, 16 Mar 2026 03:43:10 +0000 (03:43 +0000)
committerRich Bowen <rbowen@apache.org>
Mon, 16 Mar 2026 03:43:10 +0000 (03:43 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1932317 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/logs.xml
docs/manual/mod/core.xml

index 11be63478bde3e96d11a820b076344310e419cf8..5334eb32beb78b8dfdfd63321e8b840422cbe005 100644 (file)
 
     <example>
     [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
     </example>
 
     <p>The first item in the log entry is the date and time of the
     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.</p>
+    that made the request. And finally is the detailed error message.</p>
+
+    <note><p>Note that some messages that were previously logged at
+    <code>error</code> level have been downgraded to <code>info</code>
+    level in httpd 2.4. For example, "File does not exist" messages
+    for 404 responses are logged at <code>info</code> level and will
+    not appear in the error log with the default
+    <directive module="core">LogLevel</directive> of <code>warn</code>.
+    To restore the previous behavior, use
+    <code>LogLevel warn core:info</code>.</p></note>
 
     <p>A very wide variety of different messages can appear in the
     error log. Most look similar to the example above. The error
index 1ff13985a4e4b0d43b626a4fc7dc3a6dd4b9e57d..6b2ebb65cb0a138ee2d479fa231ce54484adf895 100644 (file)
@@ -1809,7 +1809,7 @@ ErrorLogFormat "[%{u}t] [%-m:%l] [pid %P:tid %T] %7F: %E: [client\ %a] %M%&nbsp;
     <p>This would result in error messages such as:</p>
 
     <example>
-    [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
     </example>
 
     <p>Notice that, as discussed above, some fields are omitted