Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonblockingloghandler-0.4.4.zip (15.4 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

nonblockingloghandler-0.4.4.win32.zip (11.0 kB view details)

Uploaded Source

nonblockingloghandler-0.4.4.win32.exe (203.5 kB view details)

Uploaded Source

File details

Details for the file nonblockingloghandler-0.4.4.zip.

File metadata

File hashes

Hashes for nonblockingloghandler-0.4.4.zip
Algorithm Hash digest
SHA256 1d1da9747ec0bfd96453abe8fb054733a24b36b4beae3d0b89e34ffc7739fd6b
MD5 5e99535c21a494da6957963b78056cce
BLAKE2b-256 1e649877c94d67c1698f35f68f8cc676a80b407d1c3576f9b2d555621b144f1a

See more details on using hashes here.

File details

Details for the file nonblockingloghandler-0.4.4.win32.zip.

File metadata

File hashes

Hashes for nonblockingloghandler-0.4.4.win32.zip
Algorithm Hash digest
SHA256 f02f247ef4cb69b16a131af53dec8db0a27fc2cad56e30850843e7c3886b47bf
MD5 4fa9f56bb52b9a78ce229b7aeee21a0f
BLAKE2b-256 b7ceaaf1320786b97c887e719d91aa36bb0910bd8961e86d7d69082617ad23aa

See more details on using hashes here.

File details

Details for the file nonblockingloghandler-0.4.4.win32.exe.

File metadata

File hashes

Hashes for nonblockingloghandler-0.4.4.win32.exe
Algorithm Hash digest
SHA256 eaec8d33d696ddad3ec1ca72a2e6443cdf6ce16d5300a41e8329fca85132d296
MD5 bb9b4c491fd4ef65fbf493ad4741e0a7
BLAKE2b-256 23816abadaa0ca09720a22e372cf7ccaa166de232d76004784f22c5009d73e26

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page