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 Distribution
Hashes for nonblockingloghandler-1.1.0a1.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8566d000fdf74f067b0e206f02d3f41ec3297a02ce78a67a8b4f84a2b1af9de5 |
|
MD5 | 4b316bc0637ffe8d3535ab9ad56e5d75 |
|
BLAKE2b-256 | 715d023d3b8445c85bd105ebff0283b8df4169f83bd69d3952f277ae3a9b7e33 |
Hashes for nonblockingloghandler-1.1.0a1-py2.7.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c0846c14ba38ae9b5711e648a95dcd4d945cbb1ae8c09c0d0e8bb715727db25 |
|
MD5 | aca9fa071c35c1759e601b9d987ece19 |
|
BLAKE2b-256 | 339189af30b009c78699f014500d1f940ea54e24d889eb98172a1558e1e2a32a |