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.2.zip (8.3 kB view details)

Uploaded Source

File details

Details for the file nonblockingloghandler-0.2.zip.

File metadata

File hashes

Hashes for nonblockingloghandler-0.2.zip
Algorithm Hash digest
SHA256 3cdeb3f7376feff7f2b272bbeb31d6a4e88ca8c3a44120aff045333c5aa24acd
MD5 a2824b0903d55d7ef03afe42037f17bc
BLAKE2b-256 3cca305d5cfcbca25becc289bf62b8cb18ee24fa5a929c45afeaff97907e9486

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