Skip to content

References: Errors, Logs and Knowing What Happened

  1. Logging (computing) - Wikipedia - Covers what logs are, log levels and common formats. It is the base for the chapter's sections on logging and structured logs.

  2. Exception handling - Wikipedia - Explains how programs raise and catch errors. It supports the chapter's warning about bare catch blocks that hide failures.

  3. Observability (software) - Wikipedia - Describes logs, metrics and traces as ways to understand a running system. It frames the chapter's goal of knowing what happened.

  4. Observability Engineering - Charity Majors, Liz Fong-Jones and George Miranda - O'Reilly Media, 2022 - Majors is known for arguing that you should be able to ask new questions of a live system without shipping new code. That idea explains why structured logs beat plain text.

  5. Practical Monitoring - Mike Julian - O'Reilly Media, 2017 - Julian is known for naming monitoring anti-patterns, such as tool obsession and checkbox monitoring. His plain advice suits a small app with one builder.

  6. Monitoring Distributed Systems - Google SRE Book - Introduces the four golden signals: how slow the app answers, how busy it is, how many requests fail, and how close it is to full. It helps decide what an uptime check and dashboard should watch.

  7. Logging Cheat Sheet - OWASP - Guidance on what to log and what never to log, including secrets and personal data. It backs the chapter's rule against secrets in logs.

  8. Observability primer - OpenTelemetry - Explains logs, metrics and traces in plain terms. A trace ID is the standard form of the request ID this chapter uses. It supports the chapter's section on tracing a request's path.

  9. Error Handling Cheat Sheet - OWASP - Shows how to return safe error messages without exposing stack traces. It backs the chapter's section on user-facing error messages.

  10. Sentry Docs - Sentry - Documentation for a widely used error tracking service. It shows how to capture exceptions with context so failures don't go unnoticed.