Fix debug logging

This commit is contained in:
Michaël Arnauts 2020-09-10 21:05:31 +02:00
parent 2cf81ea6c5
commit 33b53e8ab4

View File

@ -47,5 +47,6 @@ class KodiLogHandler(logging.StreamHandler):
def config():
""" Setup the logger with this handler """
logger = logging.getLogger()
logger.setLevel(logging.DEBUG) # Make sure we pass all messages, Kodi will do some filtering itself.
logger.addHandler(KodiLogHandler())
logger.setLevel(logging.DEBUG)