Saturday 4:20 p.m.–5 p.m.

Python logging 101

Michael Sverdlik

Audience level:
Novice

Description

Python includes a good logging library. However beginning to use it is not always straight forward. Eventually one ends up copy-pasting Stackoverflow answers or going back to print(). I would like to give you a brief introduction to the logging module, explain some of its core principals and share some knowledge that will allow you to use it without getting in your way.

Abstract

I never really understood the logging module. Most of the time when I had to use it, I would just copy over bits and pieces from other places to get myself started. This all changed when during one of my work projects I wanted to implement a bit better logging than what I usually do. To achieve that, I had to deep dive into the logging module docs to understand some of its core principals. In this talk I would like to share with the audience what I've learned:

This talk is suitable for novice to intermediate level.