]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
core: Fix ErrorLogFormat severity modifier description and example (Bug 65060)
authorRich Bowen <rbowen@apache.org>
Wed, 29 Apr 2026 18:21:24 +0000 (18:21 +0000)
committerRich Bowen <rbowen@apache.org>
Wed, 29 Apr 2026 18:21:24 +0000 (18:21 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1933516 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/core.xml

index d04a75c92acb7959c5230b6c9533111698bf6ebd..4d143b69b89c36c7ceabfeee0006b588845c2f47 100644 (file)
@@ -1646,8 +1646,9 @@ ErrorLogFormat "[%t] [%l] [pid %P] %F: %E: [client %a] %M"
     omitted.</p>
 
     <p>A number as modifier can be used to assign a log severity level to a
-    format item. The item will only be logged if the severity of the log
-    message is not higher than the specified log severity level. The number can
+    format item. The item will only be logged if the log message has a
+    severity level of the specified number or more severe (i.e., the
+    message's level number is less than or equal to the modifier). The number can
     range from 1 (alert) over 4 (warn) and 7 (debug) to 15 (trace8).</p>
 
     <p>For example, here's what would happen if you added modifiers to
@@ -1672,7 +1673,8 @@ ErrorLogFormat "[%t] [%l] [pid %P] %F: %E: [client %a] %M"
     <tr>
     <td><code>%4{Referer}i</code></td>
     <td>Logs the <code>Referer</code> only if the log message severity
-    is higher than 4.</td>
+    is 4 (warn) or more severe (i.e., levels 1 through 4:
+    alert, crit, error, warn).</td>
     </tr>
 
     </table>