[Bug 883478] New: Review Request: python-logging-tree - Introspect and display the logger tree inside "logging"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=883478

            Bug ID: 883478
           Summary: Review Request: python-logging-tree - Introspect and
                    display the logger tree inside "logging"
           Product: Fedora
           Version: rawhide
         Component: Package Review
          Severity: unspecified
          Priority: unspecified
          Reporter: rbean@xxxxxxxxxx


Spec URL: http://ralph.fedorapeople.org//python-logging-tree.spec
SRPM URL: http://ralph.fedorapeople.org//python-logging-tree-1.1-1.fc18.src.rpm

Description:
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"

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]