19.22. mod_log_configThe mod_log_config module provides logging of requests made to the server. See the Apache documentation for an explanation of the logging format.
CookieLog filename [server config, or within <VirtualHost>] Specifies the location of the file where cookie requests can be logged, relative to the ServerRoot. This directive is deprecated.
CustomLog file format [server config, or within <VirtualHost>] Specifies the location of the file where logs can be recorded, either as a fully qualified filename or relative to the ServerRoot. You can instruct the server to use a specific format to log the records using the format parameter. In addition, you can specify a formatting nickname as defined by the LogFormat directive.
LogFormat format [nickname] [server config, or within <VirtualHost>] This sets the default format of the log file specified by the TransferLog directive. If you wish, you can also use the directive to declare a nickname for a format. If you specify a nickname, the command does not apply the format as the default. Log formats are defined using the "Common Log Format," which is explained in greater detail in the Apache documentation.
TransferLog file|pipe-command [server config, or within <VirtualHost>] Specifies a default log file using a format dictated by the LogFormat command. If you wish, you can specify a pipe (|) followed by a shell command in place of the filename; this program runs as the user that started the httpd server and receives the log information as standard input. For example: TransferLog |"grep PUT >>.putlog" Copyright © 2003 O'Reilly & Associates. All rights reserved. |
|