---
title: "Apache error logs"
date: "2024-02-14T06:18:38+00:00"
summary: "Troubleshoot Apache issues efficiently with our guide to error logs. Learn to parse and interpret log entries, identify common problems, and resolve server configuration errors quickly."
image:
type: "page"
url: "/acquia-cloud-platform/apache-error-logs"
id: "fe3890ec-92c6-4144-9aeb-bc62476c8934"
---

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](/acquia-cloud-platform/monitor-apps/logs). You can also review information about how to [streaming Apache log entries in real time](/acquia-cloud-platform/monitor-apps/logstream) from your browser.

Note for log forwarding users

Acquia’s [log forwarding](/acquia-cloud-platform/monitor-apps/logs/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](/acquia-cloud-platform/monitor-apps/logs/forwarding/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:

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

`"http://www.example.com"`

URL requested

4

`"Mozilla/5.0 (iPhone; CPU iPhone)"`

The User-Agent

5

`vhost=example01live.prod.example-sites.com`

Vhost

6

`forwarded_for="10.0.0.1"`

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](https://httpd.apache.org/docs/2.4/mod/core.html#errorlogformat).