Adjust logger from emby to plex

This commit is contained in:
tomkat83 2016-08-29 19:31:41 +02:00
parent 1c2baef100
commit 29b57d9d71

View file

@ -12,7 +12,7 @@ from utils import window
def config():
logger = logging.getLogger('EMBY')
logger = logging.getLogger('PLEX')
logger.addHandler(LogHandler())
logger.setLevel(logging.DEBUG)
@ -42,7 +42,7 @@ class LogHandler(logging.StreamHandler):
logging.DEBUG: 2
}
try:
log_level = int(window('emby_logLevel'))
log_level = int(window('plex_logLevel'))
except ValueError:
log_level = 0