LogLevel directives
Description
Control the verbosity of the error log
Grammar:
LogLevel level
Default value:
LogLevel warn
Context:
Server configuration, virtual host
State:
Core
Module:
Core
LogLevel is used to adjust the verbosity of the information that is recorded in the error log. (see errorlog directives). You can select the following levels in descending order of importance:
Level
Description
Example
Emerg
Emergency-the system is not available.
"Child cannot open lock file. Exiting "
Alert
Immediate measures must be taken.
"Getpwuid:couldn ' t determine user name from UID"
Crit
Fatal condition.
"Socket:failed to get a socket, exiting child"
Error
Error condition.
"Premature end of script headers"
Warn
Warning condition.
"Child process 1234 did not exit, sending another Sighup"
Notice
General important situation.
"Httpd:caught Sigbus, attempting to dump core in ..."
Info
General information.
"Server seems busy, (you may need to increase startservers, or min/maxspareservers) ..."
Debug
Error level Information
"Opening config file ..."
When a specific level is specified, all information that is higher than it is reported simultaneously. For example, when LogLevel info is specified, all notice and warn levels of information are also recorded.
It is recommended that you use at least the crit level.
Examples are as follows: LogLevel notice