Asteris

Mesos Log Format: What Does it All Mean?

// Brian Hicks // Mesos

When you’re using Mesos, sooner or later you’re going to need to look in the logs to figure something out. Inevitably, you’ll be greeted by a line like this:

I0909 22:47:01.240617 21904 master.cpp:3600] Sending 1 offers to framework {id}

Uh… what? How do I read that? What are all those arguments? What even is I0909?

Mesos uses glog, the Google logging module. The arguments break down like this:

That’s it!

Now from this you can tell what level the line is, when it occurred, where to look if you need to find the source, and what actually happened on the line.

To make it a little easier, here’s a cheat sheet:

How to Read Mesos Logs

Want More Sleep?

Is your deployment keeping you up a night? Is it secure? Reliable? We'll help you keep the lights on with timely tutorials and tips to give you peace of mind that your cluster is running how it's supposed to.