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.5.0b.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27277a80fc89d7332092e13e9c94fc60112f3a97ebc1288fde2157824118f3e4 |
|
MD5 | b537f537521f0be4381813fc96fc712f |
|
BLAKE2b-256 | db811f6f7c473c62c1e78a940a25687bb41ee5cb77352568034aa0680f702a3c |
Hashes for nonblockingloghandler-0.5.0b.win32.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef5eae33db8c7b7713dfa36340022f28c23a090955eb9687f7520e3911bedc7f |
|
MD5 | 2d6af62859ede87eccbd20a66cf43fd9 |
|
BLAKE2b-256 | a4eb88fa34c33e59b6d0841725e9318ba1964488a277cc41c4083610c9df3780 |
Hashes for nonblockingloghandler-0.5.0b.win32.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1225a1a470c9252935cbc4672712aafb4d883c8256c7ccdd1a065403259fb6b0 |
|
MD5 | 087154f493568f6135f0e0f727b4b9cb |
|
BLAKE2b-256 | ee92543f36cd486b9f7ba15e1e014b82ed2c6f8945603f09c495cd7294aa4a3f |
Hashes for nonblockingloghandler-0.5.0b-py2.7.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3a53b2778391ec0fde090b76b768edb6f29101cd75faaf5ddc5f6053ffa0388 |
|
MD5 | 5d9099a1f2f47e4ff6d680bbd81cc2df |
|
BLAKE2b-256 | b0bce0d3c6973bf045a51c1c13afa83172fbe6053d2a18be24adba248853636c |