Over a million developers have joined DZone.

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

Download the Essential Cloud Buyer’s Guide to learn important factors to consider before selecting a provider as well as buying criteria to help you make the best decision for your infrastructure needs, brought to you in partnership with Internap.

[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.

The Cloud Zone is brought to you in partnership with Internap. Read Bare-Metal Cloud 101 to learn about bare-metal cloud and how it has emerged as a way to complement virtualized services.

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.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}