Registry / observability / jaraco-logging

jaraco-logging

JSON →
library3.4.0pypypiunverified

A utility library for Python logging that provides additional log levels (like NOTICE and TRACE), a filtering handler, and a log suppression context manager. Current version is 3.4.0, supports Python >=3.9, and is maintained as part of the jaraco project. Releases are frequent.

pip install jaraco-logging
INSTALL
IMPORT
SIG · JARACO-LOGGING
J
jaraco-logging
observabilitypythonv3.4.0
Install
3.0s avg
Import
Disk
29MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v3.4.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 33.4MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 3.0s · import 0.000s · 34MB
29MB installed
● package 29MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

add_level
from jaraco.logging import add_level
from jaraco.logging import add_level

Add custom log levels and use the suppress context manager.

import logging from jaraco.logging import add_level, suppress # Add a custom TRACE level (value 5) add_level('TRACE', 5) logger = logging.getLogger(__name__) logger.trace('This is a trace message') # Suppress all logging for a block with suppress(): logger.info('This will not appear')
Debug
Known issues
gotchaadd_level modifies the logging module globally. It may conflict with other libraries that add the same level names.
fix
Use unique level names or only add levels in isolated modules.
affects: all
deprecatedThe old 'LogSuppressor' class (used as a context manager) was renamed to 'suppress' in v3.0.0.
fix
Use 'from jaraco.logging import suppress' instead of 'LogSuppressor'.
affects: <3.0.0
Upgrade
Version history
3.4.0latest on PyPI · released Jun 16, 2025
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
14
OpenAI (training)
2
Resources
jaraco-logging — pip install jaraco-logging · libregistry