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.0a2.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | 830fd8d3d51a094636d23a09609e41195fb6732a4ad3774191a3bd23482577f9 |
|
MD5 | 8ec842c1242a217071b023b9103577a9 |
|
BLAKE2b-256 | c38d93979692b6df489f67d8dfbe2a2dab5c831308d27fb739a1fa741f74cf62 |
Hashes for nonblockingloghandler-1.1.0a2-py2.7.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 183a0d9db86791a54b1456db645b412121e3f9d17bb55d76e8c00cb9859ea522 |
|
MD5 | 8e86512852c7812e4272c439a66ffbbe |
|
BLAKE2b-256 | 67e4d4d4ec20f9d908bad782e9b153dff228cc602c6ed7f6d9386a5cedb5bd65 |