Getting the logging module to do your bidding

A session at PyCon UK 2012

Friday 28th September, 2012

5:30pm to 7:00pm (GMT)

The Python logging module is a useful tool for getting all kinds of information out of your program; everything from error notifications through to debug information. The standard facilities are useful out of the box, but, sometimes, you need a bit more. Not surprisingly, it turns out that the logging module is designed to be extended. This presentation shows some of the things you can do; things like gathering statistics on message type, directing emails to different recipients depending on severity, dynamic updating of attributes, and logging to a database.

The talk covers:
* an overview of why I thought I needed the extra features,
* a look at the logger structures that need to be changed,
* and some actual code that does the job.

About the speaker

This person is speaking at this event.
Mike Sandford

Sign in to add slides, notes or videos to this session

PyCon UK 2012

England England, Coventry

28th30th September 2012

Tell your friends!


Time 5:30pm7:00pm GMT

Date Fri 28th September 2012

Short URL


Official session page


View the schedule


See something wrong?

Report an issue with this session