Nonblocking Logging Handler for Python Logging
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for nonblockingloghandler-0.4.2.win32.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | b42286aa57dec9e3741ed1730c3c0151f18072f08c605101decb312d394b8c09 |
|
MD5 | 99b23133c1c5f29a6e91dbde29aa5e5d |
|
BLAKE2b-256 | 0eab4d7df485fc43efd23d020b0c8656b3c27441638cc272ef277e8e9f90efd8 |
Hashes for nonblockingloghandler-0.4.2.win32.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | da86ebe408a0b55bb112478f68f86677c29e55a8ba956a3584a8fa074aa4efd0 |
|
MD5 | e04e0ef834ae2943c2d67a83e9361dec |
|
BLAKE2b-256 | 11d0fa4c24c3dfb70ee2028332986daa81f3602456776c41d1130824bbf80646 |
Hashes for nonblockingloghandler-0.4.2-py2.6.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5ca28b40c86efdb8ca13a4aea48073f5135d28d9495e74f33b59d673b6b333c |
|
MD5 | c79783199f130bbfc4dd2f59b89b2b90 |
|
BLAKE2b-256 | 91aa9cb529b3be7cbfa12f1315697f4efedae7a9f471365499a6d39ddb7c28ca |