Apache Error Logging Configuration

Last modified 07-May-2003 21:31
Comments to tbird

Note: This document deals with logging Apache errors and administrative messages. Access logging is left as an exercise to the reader. Contributions gratefully accepted.

In httpd.conf, set the ErrorLog directive to syslog. The LogLevel directive can be used to control the verbosity of messages sent to the loghost. Restart the server to activate your changes. When a particular level of logging is specified, messages of that severity and higher are recorded.

Here are the lines to add to httpd.conf to send all messages of notification level and higher to the system log:

ErrorLog syslog
LogLevel notice