# 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 %}
