A practical guide to structured logging and error handling in Python
Useful Logs
Part 1 of 5 in the series Meaningful Logs From printing "hello world" to debugging your first program, nearly everyone starts their coding journey with a log statement. In my experience, developers have an intuitive understanding of how powerful logs are as an introspection tool. What’s not as obvious is that the simple form of logging that works so well during development loses most its utility in productionized code. In production, logs are emitted from many processes over a large time period. Without a well thought out logging strategy you’ll find it nearly impossible to rebuild the sequential logflow that printed out so naturally on a single machine. ...