These directives are used to specify locations of log files and their configuration.
AccessLog filename
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:
AccessLog logs/http.log
ErrorLog filename
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:
ErrorLog logs/http.error
LogFileDateExt suffix
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:
LogFileDateExt %H:%T
providing the hour and minute separated by a colon (:), for example, 19:40. This setting gives a date format:
LogFileDateExt %d-%m-%Y
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:
LogFileDateExt log
LogFormat format
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.
LogTime timezone
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.
NoLog expression
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:
NoLog /top_secret/*
This HTML Help has been published using the chm2web software. |