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.4.win32.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | f02f247ef4cb69b16a131af53dec8db0a27fc2cad56e30850843e7c3886b47bf |
|
MD5 | 4fa9f56bb52b9a78ce229b7aeee21a0f |
|
BLAKE2b-256 | b7ceaaf1320786b97c887e719d91aa36bb0910bd8961e86d7d69082617ad23aa |
Hashes for nonblockingloghandler-0.4.4.win32.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | eaec8d33d696ddad3ec1ca72a2e6443cdf6ce16d5300a41e8329fca85132d296 |
|
MD5 | bb9b4c491fd4ef65fbf493ad4741e0a7 |
|
BLAKE2b-256 | 23816abadaa0ca09720a22e372cf7ccaa166de232d76004784f22c5009d73e26 |