cern_httpd
logs all the incoming requests to an access
log file. It also has an error log where internal server errors are
logged.
AccessLog
- Set access log file name
ErrorLog
- Set error log file name
LogFormat
- Set access log file format
LogTime
- Set time zone for log files
NoLog
- No log entries for listed hosts/domains
CacheAccessLog
- Log cache accesses to a different log file
-l
logfile command
line option, or with AccessLog
directive:
AccessLog /absolute/path/logfile
ErrorLog
directive:
ErrorLog /absolute/path/errorlogIf error log file is not specified, it defaults to access log file name with
.error
extension. If the filename extension
already exists, .error
will replace it.
LogFormat CommonThe old CERN
httpd
format can be used by
LogFormat Old
LogTime
directive:
LogTime GMTDefault is:
LogTime LocalTime
NoLog
directive can be used to
prevent log entry being made for hosts matching a given IP number or
host name template:
NoLog template
NoLog 128.141.*.* NoLog *.cern.ch NoLog *.ch *.fr *.it