< Home - < Back

python-logging-tree


Information about the package, python-logging-tree, which is shipped with common Linux distributions. The python-logging-tree package is designed for, Introspect and display the logger tree inside "logging".


Package Name:

python-logging-tree

Summary:

Introspect and display the logger tree inside "logging"

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"

Architecture:

noarch

Version:

1.1

Release:

2.el6

Size:

17 k

Repository:

epel

From Repository:

Licence:

BSD



Handy Yum Commands for python-logging-tree


Control the python-logging-tree package with the following handy commands outlined below.


Command

Description of Command

yum install python-logging-tree

This command will install python-logging-tree on the server.

yum remove python-logging-tree

This command will un-install python-logging-tree on the server. When you run this command, you will be asked if you are sure that you want to remove python-logging-tree, so you have to manually confirm that you want to do this.

yum -y remove python-logging-tree

This command will un-install python-logging-tree on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python-logging-tree when using the -y flag.

yum update python-logging-tree

This command will update python-logging-tree to the latest version. When you run this command, you will be asked if you are sure that you want to remove python-logging-tree, so you have to manually confirm that you want to do this.

yum -y update python-logging-tree

This command will update python-logging-tree to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python-logging-tree when using the -y flag.

yum info python-logging-tree

This command will show you core information about the python-logging-tree package.

yum deplist python-logging-tree

This command will show you the dependencies for python-logging-tree. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update python-logging-tree

This command will check if there is an update waiting on python-logging-tree. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.