Logging: Change Your Mind

164

Most people consider logging something nice to have; a supplement to the code that matters or something you add in order to debug a problem. Having worked for the past year in a distributed microservices architecture I finally discovered what logging truly is: it’s Google Analytics for your code.

Think about this: the business asks you to track interesting behaviour so it has the information it needs to make informed decisions. They want to know if a feature is driving in more customers, if a campaign is getting traction, if one solution is preferrable over another.

Shouldn’t you, as a professional, have the same understanding about the code you ship?

Read more at JUXT