---
title: "Document Engine logs | Nutrient"
canonical_url: "https://www.nutrient.io/guides/document-engine/monitoring/logs/"
md_url: "https://www.nutrient.io/guides/document-engine/monitoring/logs.md"
last_updated: "2026-06-08T09:14:14.341Z"
description: "Learn to capture and analyze Document Engine logs using Docker tools and cloud log aggregation systems. Correlate logs with unique request IDs for efficient troubleshooting."
---

# Document Engine logs

Document Engine is packaged as a Docker container, which allows you to use [standardized Docker tooling](https://docs.docker.com/config/containers/logging/) to capture logs written by Document Engine to the standard output. In addition, if you deploy Document Engine in the cloud, all major cloud providers offer support for logs emitted by Docker containers running on their infrastructure with their log aggregation systems.

See the following:

- [Using the awslogs Log Driver](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_awslogs.html)

- [How to find — and use — your GKE logs with Cloud Logging](https://cloud.google.com/blog/products/management-tools/finding-your-gke-logs)

- [Enable Azure Monitor for containers](https://docs.microsoft.com/en-us/azure/azure-monitor/insights/container-insights-onboard)

### Correlating logs using a request ID

Log messages associated with HTTP requests are marked with a `request_id=<request-id>` label. Logs correlated with the same request have the same request ID. This helps you determine which request triggered a specific response and what errors or warnings were emitted during request processing.

Here’s an example request and response log with a matching request ID:

```

[info]  2021-02-05 12:00:34.097  POST /api/documents request_id=FmDYakNs2xDF1NkAAASC
[info]  2021-02-05 12:00:34.168  Sent 200 in 70ms request_id=FmDYakNs2xDF1NkAAASC

```

You can also customize the `request_id` label by providing your own ID via the `X-Request-Id` request header. The custom request ID needs to be between 20 and 200 characters long.
---

## Related pages

- [Expose Document Engine metrics](/guides/document-engine/monitoring/enable-metrics-export.md)
- [Metrics reference](/guides/document-engine/monitoring/metrics-reference.md)
- [Extra environment variables](/guides/document-engine/monitoring/opentelemetry.md)

