Chapter 9. Juggling Logs and Other Circus Tricks

Production architectures are generally busy places. Things are happening all the time: Customers are being served, reports are being run, and things are breaking and getting fixed. How do we know this? Logs.

The logs that are written throughout the architecture are of vital importance for monitoring, auditing, and troubleshooting. However, despite their being crucial, the infrastructure to journal and analyze logs is often one of the most neglected components in a large architecture.

There are two types of logs: those needed to provide reporting and those needed to troubleshoot problems. Because reports serve a purpose and are expected and reviewed, the logs that feed them must be correctly processed. ...

Get Scalable Internet Architectures now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.