Cloud Platform

Apache error logs

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 forwarding 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] "http://www.example.com"
"Mozilla/5.0 (iPhone; CPU iPhone)" vhost=example01live.prod.example-sites.com
forwarded_for="10.0.0.1" request_id="v-60ffab00-2fe9-11ea-972b-22000ab832c9"
hosting_site=example01live AH01630: client denied by server configuration:
/var/www/html/example01live/docroot/example.sh

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

PositionDataDescription
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"http://www.example.com"URL requested
4"Mozilla/5.0 (iPhone; CPU iPhone)"The User-Agent
5vhost=example01live.prod.example-sites.comVhost
6forwarded_for="10.0.0.1"The ip address of the original requester
7request_id="v-ed8389a2-2d21-11ea-ba54-8b7e74d777e0"Request ID
8hosting_site=example01liveHosting Site
9All other information in the lineThe message, which will vary from line to line

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

Did not find what you were looking for?

If this content did not answer your questions, try searching or contacting our support team for further assistance.

Acquia Help

Filter by product:

Cloud Platform common questions