From: Rich Bowen Date: Wed, 29 Apr 2026 18:21:24 +0000 (+0000) Subject: core: Fix ErrorLogFormat severity modifier description and example (Bug 65060) X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4c9d8a36e2be24f2efe4b41414d0a9f45c7d6295;p=thirdparty%2Fapache%2Fhttpd.git core: Fix ErrorLogFormat severity modifier description and example (Bug 65060) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1933516 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index d04a75c92a..4d143b69b8 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -1646,8 +1646,9 @@ ErrorLogFormat "[%t] [%l] [pid %P] %F: %E: [client %a] %M" omitted.

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).

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" %4{Referer}i Logs the Referer only if the log message severity - is higher than 4. + is 4 (warn) or more severe (i.e., levels 1 through 4: + alert, crit, error, warn).