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

Uploaded Source

Built Distribution

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

nonblockingloghandler-1.0.1-py2.7.egg (10.5 kB view details)

Uploaded Egg

File details

Details for the file nonblockingloghandler-1.0.1.zip.

File metadata

File hashes

Hashes for nonblockingloghandler-1.0.1.zip
Algorithm Hash digest
SHA256 bd1bb32f6b55ce4c1231400f3a392876f1372f191509736822d93b470942a404
MD5 c10a3a044c43fd59cc9825db28e9e5e0
BLAKE2b-256 85e5658369bb7cf10640bb28d11ee6344d8f4a550d08713ebd75519173d668a6

See more details on using hashes here.

File details

Details for the file nonblockingloghandler-1.0.1-py2.7.egg.

File metadata

File hashes

Hashes for nonblockingloghandler-1.0.1-py2.7.egg
Algorithm Hash digest
SHA256 7bf2f18f6d33b655289dc07586f040b7cf1acc390688b547ef598851bd9432a2
MD5 5acdabf44ecf8848f4795d5f7fa40cac
BLAKE2b-256 cd15cbf0f42ddff2f83dd501632cc0ed19225b64d12480e733057740daf55e8b

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