Fedora Packages

python3-logging-tree Subpackage of python-logging-tree

Introspect and display the logger tree inside "logging"

Introspection for the ``logging`` logger tree in the Standard Library. While you can write programs that call this package's ``tree()`` function and examine the hierarchy of logger objects that it finds inside of the Standard Library ``logging`` module, the simplest use of this package for debugging is to call ``printout()`` to print the loggers, filters, and handlers that your application has configured:: >>> logging.getLogger('a') >>> logging.getLogger('a.b').setLevel(logging.DEBUG) >>> logging.getLogger('x.c') >>> from logging_tree import printout >>> printout() "" Level WARNING | o<--"a" | | | o<--"a.b" | Level DEBUG | o<--[x] | o<--"x.c"

Releases Overview

Release Stable Testing
Fedora 38 1.9-7.fc38 -
EPEL 8 1.8.1-1.el8 -
File a new bug report »
Package Info

You can contact the maintainers of this package via email at python-logging-tree dash maintainers at fedoraproject dot org.



Sources on Pagure