Adjust logger from emby to plex
This commit is contained in:
parent
1c2baef100
commit
29b57d9d71
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ from utils import window
|
||||||
|
|
||||||
def config():
|
def config():
|
||||||
|
|
||||||
logger = logging.getLogger('EMBY')
|
logger = logging.getLogger('PLEX')
|
||||||
logger.addHandler(LogHandler())
|
logger.addHandler(LogHandler())
|
||||||
logger.setLevel(logging.DEBUG)
|
logger.setLevel(logging.DEBUG)
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ class LogHandler(logging.StreamHandler):
|
||||||
logging.DEBUG: 2
|
logging.DEBUG: 2
|
||||||
}
|
}
|
||||||
try:
|
try:
|
||||||
log_level = int(window('emby_logLevel'))
|
log_level = int(window('plex_logLevel'))
|
||||||
except ValueError:
|
except ValueError:
|
||||||
log_level = 0
|
log_level = 0
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue