Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Discover the power of effective logging in Python through this EuroPython 2017 conference talk. Learn how to leverage the logging module from the standard library to enhance troubleshooting and runtime monitoring. Explore best practices, techniques, and advanced configurations for complex applications. Gain a comprehensive understanding of logger design, functionality, and extension beyond basic usage. Delve into topics such as logging models, handlers, formatters, filters, log hierarchies, and error handling. Examine practical demonstrations, performance considerations, and real-world scenarios to optimize your logging strategy. Master the art of effortless logging and empower your development process with invaluable runtime insights.
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