Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Logging on Docker: What You Need to Know

DZone's Guide to

Logging on Docker: What You Need to Know

Discover how the introduction and adoption of Docker has fundamentally changed the way we think about log management and analysis.

· Cloud Zone
Free Resource

See how the beta release of Kubernetes on DC/OS 1.10 delivers the most robust platform for building & operating data-intensive, containerized apps. Register now for tech preview.

[This article was written by Matt Kiernan.]

Systems have fundamentally changed with the introduction and adoption of microservices like Docker, resulting in a shift in how we think about log management and analysis. Logging into a server and grepping logs is no longer a reality when dealing with thousands of container instances. While support of logging has improved on Docker over the past year, there is yet to be a widely agreed upon “standard” for Docker logging.logging-on-docker-webinar

Logentries Chief Scientist Trevor Parsons recently co-hosted a webinar with Peter Elger of nearForm and Bright Fulton of Swipely where we explored three different approaches to logging on Docker, including:

  • Logging from within the container using a Daemon/collector
  • Logging outside the container, writing logs out and running a collector on the host
  • Using a dedicated logging container responsible for collecting and forwarding logs

Over the course of the webinar, Trevor, Peter and Bright engaged in a lively discussion, exploring the pros and cons of each option and debating which one truly represents “best practice.”They also shared insights into common events that are valuable to log, monitor and analyze,, useful Docker APIs, and services for analyzing Docker log data for a deeper understanding of your application and environments.

Missed the webinar? No problem – you can view a video recording of the webinar below and find a list of helpful Docker resources here.

New Mesosphere DC/OS 1.10: Production-proven reliability, security & scalability for fast-data, modern apps. Register now for a live demo.

Topics:
cloud ,logging ,log management ,docker ,containers

Published at DZone with permission of Trevor Parsons, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}