Skip to main content

# Handlers, Filters, and other useful plugins for the Python logging system

This package define a set of util classes to plug as Filters, Handlers and Formatters in your logging config.

## Filters

  • SkipException: skips logs for given exception classes

  • SkipExceptionMsg: skips logs for given exception classes and matching messages.

  • SkipExceptionMsgRateLimit: same as SkipExceptionMsg but only filters after given rate limit.

  • RateLimiterFilter: rate limit to avoid flooding the handler

  • OnlyExcFilter: only accepts exception errors (with exc_info)

  • LevelRangeFilter: only accepts records whose levels within a range.

## Handlers

  • CounterHandler: doesn’t emits anything, just counts messages by time and records last timestamp.

  • DumpOnSignalCounterHandler: same as CounterHandler but also registers a signal handler and when received dumps the counts to file. Useful for monitoring a process externally (example liveness tests)

  • StoreRecordsHandler: just stores the log records in a list, useful for tests.

Metadata

Release files for logging-plugins 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for logging-plugins 0.0.2
File Size Uploaded Provenance Actions
logging-plugins-0.0.2.tar.gz 8.0 kB Without provenance Details for logging-plugins-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for logging-plugins 0.0.2
File Interpreter ABI Platform Actions
logging_plugins-0.0.2-py2.py3-none-any.whl Python 2, Python 3 none any Details for logging_plugins-0.0.2-py2.py3-none-any.whl

Total release size: 14.6 kB

Release files / logging-plugins-0.0.2.tar.gz

Download URL logging-plugins-0.0.2.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
dc71bf08c7d928f561708f03ec2fd9292785ed6e558198753560bc279e69bb4f
BLAKE2b-256 checksum
How to use checksums
b9fe00979c4c13383cd71771879d3df12c7f40724a02edec7c6be4ed15cdb684
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9

Release files / logging_plugins-0.0.2-py2.py3-none-any.whl

Download URL logging_plugins-0.0.2-py2.py3-none-any.whl
Size 6.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
4d64fd4fe7da18d48a3f244fe98c28cc63a8f1b245677fe0f245446f9a5af542
BLAKE2b-256 checksum
How to use checksums
7199b952278cfc950975d47ffe360b98f4bdc8447ffb8c9cae5eeed59c2c92e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9

Security for logging-plugins 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page