Httpd.conf Error Log Level
Contents |
necessary to get feedback about the activity apache custom log and performance of the server as well as any problems apache log rotation that may be occurring. The Apache HTTP Server provides very comprehensive and flexible logging capabilities. This apache log rotation windows document describes how to configure its logging capabilities, and how to understand what the logs contain. Overview Security Warning Error Log Per-module logging Access Log
Apache Log Level Debug
Log Rotation Piped Logs Virtual Hosts Other Log Files See alsoComments Overview Related ModulesRelated Directivesmod_log_configmod_log_forensicmod_logiomod_cgi The Apache HTTP Server provides a variety of different mechanisms for logging everything that happens on your server, from the initial request, through the URL mapping process, to the final resolution of the apache access log example connection, including any errors that may have occurred in the process. In addition to this, third-party modules may provide logging capabilities, or inject entries into the existing log files, and applications such as CGI programs, or PHP scripts, or other handlers, may send messages to the server error log. In this document we discuss the logging modules that are a standard part of the http server. Security Warning Anyone who can write to the directory where Apache httpd is writing a log file can almost certainly gain access to the uid that the server is started as, which is normally root. Do NOT give people write access to the directory the logs are stored in without being aware of the consequences; see the security tips document for details. In addition, log files may contain information supplied directly by the client, without escaping. Therefore, it is possible for malicious clients to insert control-cha
is /etc/httpd/conf/httpd.conf. The httpd.conf file is well-commented and mostly self-explanatory. The default configuration works for most situations; however, it is a good idea to become familiar some of the apache access log format response time more important configuration options.
WarningApache Rotatelogs
With the release of Apache HTTP Server 2.0, many configuration options have changed. If migrating a version 1.3 configuration
Customlog
file to the 2.0 format, refer to Section 10.2 Migrating Apache HTTP Server 1.3 Configuration Files.