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.1.zip (13.2 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.1.win32.exe (201.1 kB view details)

Uploaded Source

File details

Details for the file nonblockingloghandler-0.4.1.zip.

File metadata

File hashes

Hashes for nonblockingloghandler-0.4.1.zip
Algorithm Hash digest
SHA256 99c101f5ba18dd56e49a0483aeaf104813064e4b8ebd981bcaca9ddbea512892
MD5 30c5c7901491d9886dd41bd337c78aba
BLAKE2b-256 4e741efa15ff5e3a00221ab97edc00e84ed4df9545d2ce3433119409cb6f2ab3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonblockingloghandler-0.4.1.win32.exe
Algorithm Hash digest
SHA256 7a9e970016c11144006270c918657621ec5347136abadd0ad957b450eac687fe
MD5 6a731a3b332d4e072680e7054190b093
BLAKE2b-256 89455d999d83e263a8b7fb9340754aabc80f647a0bf03b2af97e7189d44dff3b

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