From: Joshua Slive Date: Fri, 23 Aug 2002 15:29:21 +0000 (+0000) Subject: Note that nicknames can't be recursively defined. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2bd096844c3169be4d8b67defefd4ffac671618c;p=apache Note that nicknames can't be recursively defined. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96497 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 3655e33c1e..0d7a61a98b 100644 --- a/docs/manual/mod/mod_log_config.html.en +++ b/docs/manual/mod/mod_log_config.html.en @@ -283,7 +283,8 @@ Conditional logging available in 1.3.5 or later.

LogFormat Directive

Description: Describes a format for use in a log file
Syntax: LogFormat - format|nickname [nickname]
Context: + format|nickname [nickname]
Default: + LogFormat "%h %l %u %t \"%r\" %>s %b"
Context: server config, virtual host
Status: Base
Module: @@ -311,11 +312,13 @@ host
CustomLog directives rather than repeating the entire format string. A LogFormat - directive which defines a nickname does nothing + directive that defines a nickname does nothing else -- that is, it only defines the nickname, it doesn't actually apply the format and make it the default. Therefore, it will not affect subsequent - TransferLog directives.

+ TransferLog directives. In addition, + TransferLog cannot use one nickname + to define another nickname.

For example:

diff --git a/docs/manual/mod/mod_log_config.xml b/docs/manual/mod/mod_log_config.xml index 460ce0e7a4..294789e64d 100644 --- a/docs/manual/mod/mod_log_config.xml +++ b/docs/manual/mod/mod_log_config.xml @@ -313,6 +313,7 @@ Conditional logging available in 1.3.5 or later. Describes a format for use in a log file LogFormat format|nickname [nickname] +LogFormat "%h %l %u %t \"%r\" %>s %b" server configvirtual host Nickname only available in Apache 1.3 or later. @@ -340,11 +341,13 @@ host CustomLog directives rather than repeating the entire format string. A LogFormat - directive which defines a nickname does nothing + directive that defines a nickname does nothing else -- that is, it only defines the nickname, it doesn't actually apply the format and make it the default. Therefore, it will not affect subsequent - TransferLog directives.

+ TransferLog directives. In addition, + TransferLog cannot use one nickname + to define another nickname.

For example: