From: Rich Bowen Date: Fri, 1 May 2026 15:55:29 +0000 (+0000) Subject: Bug 69549: ErrorLogFormat - "format string items" → "format specifiers"; "log line... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3e89a99cda6b4d657749dc7e8fc3f5f28bb8c10;p=thirdparty%2Fapache%2Fhttpd.git Bug 69549: ErrorLogFormat - "format string items" → "format specifiers"; "log line" → "format string" git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1933666 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index bcb4820f78..0620212adc 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -1623,14 +1623,14 @@ ErrorLogFormat "[%t] [%l] [pid %P] %F: %E: [client %a] %M" without causing any log message, the additional information is not logged either.

-

It can happen that some format string items do not produce output. For +

It can happen that some format specifiers do not produce output. For example, the Referer header is only present if the log message is associated to a request and the log message happens at a time when the Referer header has already been read from the client. If no output is produced, the default behavior is to delete everything from the preceding space character to the next space character. This means the format string is implicitly divided into fields on non-whitespace to whitespace transitions. - If a format string item does not produce output, the whole field is + If a format specifier does not produce output, the whole field is omitted. For example, if the remote address %a in the log format [%t] [%l] [%a] %M  is not available, the surrounding brackets are not logged either. Space characters can be escaped with a @@ -1679,7 +1679,7 @@ ErrorLogFormat "[%t] [%l] [pid %P] %F: %E: [client %a] %M" -

Some format string items accept additional parameters in braces.

+

Some format specifiers accept additional parameters in braces.