Fix debug logging
This commit is contained in:
parent
2cf81ea6c5
commit
33b53e8ab4
@ -47,5 +47,6 @@ class KodiLogHandler(logging.StreamHandler):
|
|||||||
def config():
|
def config():
|
||||||
""" Setup the logger with this handler """
|
""" Setup the logger with this handler """
|
||||||
logger = logging.getLogger()
|
logger = logging.getLogger()
|
||||||
|
logger.setLevel(logging.DEBUG) # Make sure we pass all messages, Kodi will do some filtering itself.
|
||||||
logger.addHandler(KodiLogHandler())
|
logger.addHandler(KodiLogHandler())
|
||||||
logger.setLevel(logging.DEBUG)
|
logger.setLevel(logging.DEBUG)
|
||||||
|
Loading…
Reference in New Issue
Block a user