Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This talk explains Python’s standard logging library, how its components work together, and how to extend and configure logging for complex applications. It covers practical techniques for producing useful runtime logs and troubleshooting production software.
Syllabus
Introduction
Agenda
Why log matters
Why use login
Logging in Python
Loggers
Logging Model
Handlers
Create a logger object
Formatters
Filters
Logger
Log hierarchy
Double of loggers
How to log
Some things I wish
Format the string
Errors
Big Configuration
We are we
Demo
Slides
Multiple handlers
Postprocessing
Web Context
Field Filters
Buffering
Death
Questions
Performance impact
Taught by
EuroPython Conference