| LogLevel notice The error information provided by Apache can be categorized according to degrees of importance. Use the LogLevel directive, supplying one of the arguments shown in Table 2.1, to choose the messages that you want to receive. Only errors of that level of importance or higher will be logged. Table 2.1. LogLevel Options As Described in the Apache DocumentationSetting | Description | Example |
|---|
emerg | Emergenciessystem is unusable | Child cannot open lock file. Exiting. | alert | Action must be taken immediately | getpwuid: couldn't determine user name from uid. | crit | Critical conditions | socket: Failed to get a socket, exiting child. | error | Error conditions | Premature end of script headers. | warn | Warning conditions | Child process 1234 did not exit, sending another SIGHUP. | notice | Normal but significant condition | httpd: caught SIGBUS, attempting to dump core in... | info | Informational | Server seems busy, (You may need to increase StartServers, or Min/MaxSpareServers)... | debug | Debug-level messages | Opening config file... |
The default error level of "warn" is appropriate for most Apache installations. If you are trying to troubleshoot a specific configuration, however, you can lower the level all the way to "debug" to get much more detailed logging information. |