Chapter 5. Logging and debugging

 

This chapter covers

  • Locating log files and configuring logging
  • Debugging using the Mesos web interface
  • Debugging using the command line

Now that you’ve learned what it takes to get a Mesos cluster up and running and how it provides a fault-tolerant environment for running applications, let’s dive into how to debug and troubleshoot the services and workloads on a Mesos cluster. This chapter presents some of the logging options and log file locations for Mesos cluster nodes and frameworks. It then discusses methods and tools available for troubleshooting and debugging a Mesos cluster, using both the Mesos web interface and the command line.

This chapter is split into two main sections: logging and debugging. The first section covers the various log files, their locations, and options for configuring them. The second section builds on the first and teaches you how to debug issues and observe output from running tasks by using the Mesos web interface and command-line tools.

I’ve structured this chapter using a tutorial-like approach, walking you through the various methods to get information about the cluster. I hope you’ll find this approach useful when you’re attempting to troubleshoot cluster issues in your own environments.

5.1. Understanding and configuring Mesos logging

 
 
 

5.2. Debugging a Mesos cluster and its tasks

 
 

5.3. Summary

 
 
sitemap

Unable to load book!

The book could not be loaded.

(try again in a couple of minutes)

manning.com homepage
test yourself with a liveTest