ErrorLog directive
Purpose
The ErrorLog directive sets
the file to which HTTPd will log errors it encounters. It currently
logs the following error conditions:
- Clients which time out
- Scripts which produce no output
- .htaccess files which
attempt to override things they do not have permission to
- Server bugs which produce a segmentation violation or bus error
- User
Authentication configuration problems
Syntax
ErrorLog file
file
is the name of the file to which errors will be
logged. It is either a full pathname, or a partial pathname
relative to ServerRoot.
Only one ErrorLog directive is allowed in the configuration file.
Default
If you do not specify an ErrorLog, HTTPd assumes:
ErrorLog logs/error_log
Examples
ErrorLog logs/errors
This logs errors to the file logs/errors in the ServerRoot directory.
ErrorLog /tmp/httpd-errors
This logs errors to the file /tmp/httpd-errors
.
ErrorLog /dev/null
This effectively turns off error logging.
Return to Server Configuration File Overview
NCSA HTTPd Development Team /
httpd@ncsa.uiuc.edu /
Last Modified 7-12-95