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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

nonblockingloghandler-0.4.5-py2.6.egg (10.4 kB view details)

Uploaded Egg

File details

Details for the file nonblockingloghandler-0.4.5-py2.6.egg.

File metadata

File hashes

Hashes for nonblockingloghandler-0.4.5-py2.6.egg
Algorithm Hash digest
SHA256 d3411e12a4ef298cafc1e7f4fca0a7f87e6bced16fb54056f8e9f1c4285744ea
MD5 6edd63c6fdaed28cce8f7034c147d003
BLAKE2b-256 4ac6a8a27918930266b4368b8fb4d2df0cf0bfab014e0b78f0f6627f9e23e2e0

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