{"categories":[{"label":"Logging","url":"https://skillfed.io/packages/category/system-logging"}],"enrichment":{"capability":"Visualizes the hierarchy of loggers, handlers, and filters in Python's standard logging module, showing how messages propagate through the logger tree.","skillfed_tags":["logging-diagnostics","introspection"],"use_cases":["Debug why a log message is or isn't appearing by visualizing the full logger hierarchy and propagation chain.","Audit logging configuration in a running application to verify handlers and levels are set as expected.","Understand inherited or third-party code's logging setup without reading source files.","Verify that custom logger hierarchies (e.g., 'app.module.submodule') are structured correctly.","Troubleshoot double-logging or missing log output caused by handler duplication or propagation settings."],"what_it_does":"logging_tree is a diagnostic tool that introspects Python's standard logging module and displays the current logger tree in a human-readable ASCII diagram. It shows the root logger and all child loggers, their configured levels, handlers, filters, and propagation settings. The package solves the problem of understanding complex logging configurations at runtime\u2014especially useful when debugging why certain log messages appear or disappear, or when inheriting code with unfamiliar logging setups.\n\nThe package has no runtime dependencies and works by querying the logging module's internal state. It offers both a simple `printout()` function for immediate console output and lower-level APIs (`format.build_description()`, `format.describe()`, `tree()`) for programmatic access to the tree structure. It handles edge cases like placeholder nodes (parent loggers created implicitly) and loggers with disabled propagation.","worth_installing":"Yes. This is a low-friction, zero-dependency diagnostic tool for a common pain point (understanding logging configuration). It is stable, permissive-licensed, and works across a wide range of Python versions. Install it if you regularly debug logging setups or inherit complex applications; skip it if you never need to inspect logging state at runtime."},"id":"logging-tree","links":{"html":"https://skillfed.io/packages/logging-tree","md":"https://skillfed.io/packages/logging-tree.md","pypi":"https://pypi.org/project/logging-tree/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-05-03","license_spdx":null,"license_treatment":"permissive","name":"logging-tree","python_support":"unspecified","summary":"Introspect and display the logger tree inside \"logging\""},"popularity":{"monthly_downloads":235180,"position":9006,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.10"}
