Apache error log settings

apache_logo_medium.thumbnail

This directive adjusts the verbosity of the messages recorded in the server’s error logs (see the ErrorLog directive). The following levels are available, in order of decreasing significance: emerg (emergencies: system is unusable); alert (action must be taken immediately); crit (critical conditions); error (error conditions); warn (warning conditions); notice (normal but significant condition); info (informational messages); and debug (debugging messages). When a particular level is specified, messages from all other levels of higher significance will be reported as well.

In httpd.conf the default is: LogLevel warn

This can create a huge error log so it’s suggested to change it to:  LogLevel error

  1. emerg (emergencies: system is unusable);
  2. alert (action must be taken immediately);
  3. crit (critical conditions);
  4. error (error conditions);
  5. warn (warning conditions);
  6. notice (normal but significant condition);
  7. info (informational messages);
  8. debug (debugging messages).

When a particular level is specified, messages from all other levels of higher significance will be reported as well.