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

Uploaded Source

Built Distribution

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

nonblockingloghandler-0.4.win32.exe (201.1 kB view details)

Uploaded Source

File details

Details for the file nonblockingloghandler-0.4.zip.

File metadata

File hashes

Hashes for nonblockingloghandler-0.4.zip
Algorithm Hash digest
SHA256 aa1c2bb376f17d19c94fda05886af62f0f5beea942caf14d7fe761be44c89f7a
MD5 a3c0092602e32a874b4f969a2c7d0573
BLAKE2b-256 0b8d6f9a34a4e6ea4228a751aaa144ca671a00d049a1c1c5451b9636d46af4da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonblockingloghandler-0.4.win32.exe
Algorithm Hash digest
SHA256 1dd9110ed43d739f3686f98bb405959f1730bf4d45f40aff7209991bdbd6ebe0
MD5 a8de9fb9ee4e1e9db6728fadaf7ec0fc
BLAKE2b-256 16d21061cc1391febc4797d3030ed32436a5cb06acc1807991f85ef6e0f4d0a3

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