These directives are used to specify locations of log files and their configuration.
Specifies the location of the access log file, either as an absolute path or as a relative path from the ServerRoot directory. There is no default setting, but a common one is:
Specifies the location of the error log file, either as an absolute path or as a relative path from the ServerRoot directory. There is no default setting, but a common one is:
This directive is used to specify the extension to be used for log file names. It can be used to specify a time/date format for the extension with the following setting:
providing the hour and minute separated by a colon (:), for example, 19:40. This setting gives a date format:
for example, 05-30-96. Any combination of the variables may be used. Spaces will be converted to an underscore (_) in the extension. This directive can also set a plain extension such as:
The LogFormat directive specifies whether the transfer log should be written in the common log format or the old CERN-specific log format. Acceptable values are:
The "old" CERN-specific log format.
The Common log format.
Same as the Common log format.
The LogTime directive specifies what timestamp should be used in log files. The acceptable time zones are:
Use the local time zone.
Use Greenwich Mean Time instead.
Tells the server not to log requests for the documents matched by the given expression. For example, to prevent logging of all files in the directory /top_secret/, you would include the following setting: