Name

LogFormat

Synopsis

                     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.

Get Webmaster in a Nutshell, Third 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.