> For the complete documentation index, see [llms.txt](https://docs.emaildelivery.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.emaildelivery.com/docs/post-installation/logging.md).

# Logging

Logs for the emaildelivery.com application, PostgreSQL, and Nginx are stored under **edcom-install/data/logs** with log rotation enabled.&#x20;

Enhanced logging can be activated in the edcom.json configuration file for troubleshooting in the event of an emergency:

{% hint style="warning" %}
You do ***not*** want to enable these unless we've requested for you to do so during a support request, they're shown here for informational purposes only
{% endhint %}

```
"debug": "True"
"sql_trace": "True"
"segment_trace": "True"
```

**Docker Logs**

When a Docker container is started, container output is logged ephemerally in the following directory structure.

```
/var/lib/docker/containers/[container-id]/[container-id]-json.log
```

You can also access the output of a running docker container with the **docker logs** command:&#x20;

```
docker logs edcom-proxy
```

{% hint style="warning" %}
**Container logs are automatically deleted by Docker when a container is shut down**&#x20;
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.emaildelivery.com/docs/post-installation/logging.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
