pylogconf package

Submodules

pylogconf.core module

pylogconf.core.create_pylogconf_file()[source]
pylogconf.core.remove_all_root_handlers()[source]

This function can be used to reverse the effects of basicConfig :return:

pylogconf.core.setup(level=None)[source]

This is the main API that this module exposes. It sets up logging and exception handling :return:

pylogconf.core.setup_exceptions()[source]

Only print the heart of the exception and not the stack trace

pylogconf.core.setup_logging(level=None) None[source]

setup the logging system

pylogconf.core.setup_scrapy()[source]

This is not needed as we pass ‘LOG_ENABLED’:False to scrapy at init time

pylogconf.core.setup_syslog(name: str, level: int) None[source]

Configure systemd daemon type logging :param name: :param level: :return:

pylogconf.core.show_tree()[source]

Show the logging tree

pylogconf.static module

version which can be consumed from within the module

Module contents