From: Rich Bowen Date: Thu, 22 Sep 2011 00:25:48 +0000 (+0000) Subject: Pulls the examples out of the paragraph text and into a table so that X-Git-Tag: 2.3.15~205 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f40a38bfe8c31dd57f18cca4133bb4cebcb19eda;p=apache Pulls the examples out of the paragraph text and into a table so that they are more visually distinct. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1173918 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_log_config.html.en b/docs/manual/mod/mod_log_config.html.en index 0262667ba1..d70877d62f 100644 --- a/docs/manual/mod/mod_log_config.html.en +++ b/docs/manual/mod/mod_log_config.html.en @@ -220,14 +220,22 @@

Particular items can be restricted to print only for responses with specific HTTP status codes by placing a comma-separated list of status codes immediately following the - "%". For example, "%400,501{User-agent}i" logs - User-agent on 400 errors and 501 errors only. For + "%". The status code list may be peceded by a "!" to + indicate negation.

+ + + + + + + + +
Format StringMeaning
%400,501{User-agent}iLogs User-agent on 400 errors and 501 errors only. For other status codes, the literal string "-" will be - logged. The status code list may be preceded by a - "!" to indicate negation: - "%!200,304,302{Referer}i" logs Referer - on all requests that do not return one of the three - specified codes.

+ logged.
%!200,304,302{Referer}iLogs Referer on all requests that do + not return one of the three specified codes, + "-" otherwise. +

The modifiers "<" and ">" can be used for requests that have been internally redirected to choose whether the original @@ -242,7 +250,7 @@ -

Some Notes

+

Format Notes

For security reasons, starting with version 2.0.46, non-printable and other special characters in %r, @@ -264,10 +272,12 @@ format provided by mod_logio will log the actual number of bytes sent over the network.

+

Note: mod_cache is implemented as a quick-handler and not as a standard handler. Therefore, the %R format string will not return any handler information when content caching is involved.

+
diff --git a/docs/manual/mod/mod_log_config.xml b/docs/manual/mod/mod_log_config.xml index edfd6fc517..ed7d15aa00 100644 --- a/docs/manual/mod/mod_log_config.xml +++ b/docs/manual/mod/mod_log_config.xml @@ -246,14 +246,28 @@

Particular items can be restricted to print only for responses with specific HTTP status codes by placing a comma-separated list of status codes immediately following the - "%". For example, "%400,501{User-agent}i" logs - User-agent on 400 errors and 501 errors only. For + "%". The status code list may be peceded by a "!" to + indicate negation.

+ + + + + + + + + + + + + + +
Format StringMeaning
%400,501{User-agent}iLogs User-agent on 400 errors and 501 errors only. For other status codes, the literal string "-" will be - logged. The status code list may be preceded by a - "!" to indicate negation: - "%!200,304,302{Referer}i" logs Referer - on all requests that do not return one of the three - specified codes.

+ logged.
%!200,304,302{Referer}iLogs Referer on all requests that do + not return one of the three specified codes, + "-" otherwise. +

The modifiers "<" and ">" can be used for requests that have been internally redirected to choose whether the original @@ -268,7 +282,7 @@ -

Some Notes +
Format Notes

For security reasons, starting with version 2.0.46, non-printable and other special characters in %r, @@ -290,10 +304,12 @@ format provided by mod_logio will log the actual number of bytes sent over the network.

+

Note: mod_cache is implemented as a quick-handler and not as a standard handler. Therefore, the %R format string will not return any handler information when content caching is involved.

+