2.3.47 ErrorLog
ErrorLog specifies the output destination of error logs.
Description
ErrorLog specifies the name of the file to which the error log is to be output. The content of the logs to be output can be selected by using the LogLevel directive.
- file_name
-
Specify the file name to store the error log. For file_name, you can specify an absolute path or a relative path from the value specified for the ServerRoot directive.
- pipe
-
Specify the program that receives the error log information from the standard input in the |program_name format.
Syntax
ErrorLog {file_name|pipe}
Locations where it can be written
httpsd.conf and <VirtualHost>
Example
ErrorLog logs/error.log