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.3.win32.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62c68889035edefec6122688cdec72466b1672218fdd10673db3f97b15897556 |
|
MD5 | ecea64daf4b3917ea2a9938d939c58da |
|
BLAKE2b-256 | f3cc6db9cbd09a6306bc45329de9f63c79708a702ff40f29e5f8ddaa2182412a |
Hashes for nonblockingloghandler-0.4.3-py2.6.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6149ffae62ac6f09294743bf6e010ff9e6771f3250e4420ff72afeab1f3e01ba |
|
MD5 | f25f8bfc15b5c1341588c73a14b33bb5 |
|
BLAKE2b-256 | 47aa9c15bcd5c06c969a8b5bd3bb6af2ee061f455a4665d71ab1be181e4b5667 |