Name

LogFormat

Synopsis

LogFormat format [nickname]

Description

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

(Apache 1.2 or later)

Get Webmaster in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.