Nonblocking Logging Handler for Python Logging
Provides a NonblockingLogHandler class consistent with the Python logging subsystem.
This handler acts as a proxy for the another log handler that may be slow to execute: e.g. the SMTPHandler, SocketHandler, SysLogHandler - especially when they are talking to remote servers.
If you have a real-time system (i.e. one where a late response is a wrong response) and you are sending log messages via email, http, syslog, etc., you should consider using this module to protect against unexpected delays.
It is intended to be a drop-in replacement (with some minor provisos) for the proxied handler which returns quickly, and executes the actually logging in the background, in a separate thread.
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|nonblockingloghandler-0.5.0b-py2.7.egg (10.5 kB) Copy SHA256 hash SHA256||Egg||2.7||Jun 6, 2011|
|nonblockingloghandler-0.5.0b.win32.exe (203.6 kB) Copy SHA256 hash SHA256||Windows Installer||any||Jun 6, 2011|
|nonblockingloghandler-0.5.0b.win32.zip (11.1 kB) Copy SHA256 hash SHA256||Dumb Binary||any||Jun 6, 2011|
|nonblockingloghandler-0.5.0b.zip (32.6 kB) Copy SHA256 hash SHA256||Source||None||Jun 6, 2011|