Apache error log

The Apache error log (error.log) records any Apache-level issues, which are usually general infrastructure issues, including capacity problems, .htaccess problems, and missing files.

For a list of the log files handled by Cloud Platform, including accessing these log files, log file retention, and their locations, see About Cloud Platform logging. You can also review information about how to streaming Apache log entries in real time from your browser.

Note for log streaming users

Acquia’s log forwarding feature adds information to the beginning of each line that is forwarded to an external service. For more information, see File formats in forwarded log files.

Parsing the log file

The following line is a representative example of the data written into your website’s Apache per-site error log:

[Sun Feb 09 18:30:09 2020] [error] [pid=16573] ""
"Mozilla/5.0 (iPhone; CPU iPhone)"
forwarded_for="" request_id="v-60ffab00-2fe9-11ea-972b-22000ab832c9"
hosting_site=example01live AH01630: client denied by server configuration:

Each of the items in the Apache per-site error log is noted in the following table, along with its description:

Position Data Description
0 [Sun Feb 09 18:30:09 2020] The date and time of the message
1 [error] The log level of the message
2 [pid 16573] The process ID (pid) handling this request
3 "" URL requested
4 "Mozilla/5.0 (iPhone; CPU iPhone)" The User-Agent
5 Vhost
6 forwarded_for="" The ip address of the original requester
7 request_id="v-ed8389a2-2d21-11ea-ba54-8b7e74d777e0" Request ID
8 hosting_site=example01live Hosting Site
9 All other information in the line The message, which will vary from line to line

For more information about the expected format of Apache error logs, see Apache’s documentation.