Developers Have the Logs Their Imagination Allows
summary
Covers using Python’s standard logging module instead of print for debugging, including benefits and configuration. Shows how to integrate logging into projects, capture errors in asynchronous applications, configure logging for open-source libraries, and use logs as a realtime profiler to find performance bottlenecks and investigate incidents.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 1:07Why logs in development
- 3:17Logging in Python
- 8:38Log writing mistakes
- 11:05Log handler types
- 14:41Profiling with logs
- 17:12Log context and adapters
- 20:50Logs' performance impact
- 23:04Logs as profiling tool
- 24:08Q&A
related talks
30mEffortless Logging: A deep dive into the logging module
11mUsing and abusing Python's logging module for more readable logs
11mUsing and abusing Python's logging module for more readable logs
12mDebugging Python in Production: Practical Techniques Beyond Print Statements
38mSyslog-ng for DevOps: Customized Logging with Python
44mLogging and Exception Handling for Django
24mLet’s Rethink Debugging
50mHow I built a power debugger out of the standard library and things I found on the internet
