Home / Companies / Datadog / Blog / Post Details
Content Deep Dive

Docker logging best practices

Blog post from Datadog

Post Details
Company
Date Published
Author
Nils Bunge, David M. Lentz
Word Count
1,582
Company Posts That Month
11
Language
English
Hacker News Points
-
Post removed?
No
Summary

The Docker logging driver and delivery mode chosen by developers significantly impact the performance of their containerized applications. The json-file driver, which writes logs to a local file on the host where the container is running, is recommended for most use cases due to its speed and reliability. However, developers can choose from various drivers that forward logs to remote endpoints or use logging driver plugins to create custom solutions. The delivery mode, which determines how the container prioritizes logging operations relative to other tasks, also affects performance, with blocking mode potentially introducing latency and non-blocking mode ensuring high volumes of logging activity don't impact application execution. By selecting the appropriate logging driver and delivery mode, developers can optimize logging reliability and application performance, making it easier to monitor and analyze their containers' logs.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.