Friday 28th September, 2012
5:30pm to 7:00pm
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.
Sign in to add slides, notes or videos to this session