Fix service restart

This commit is contained in:
angelblue05 2019-01-13 04:21:35 -06:00
parent 5db5372db5
commit 25ed1cb011
4 changed files with 47 additions and 13 deletions

View file

@ -18,6 +18,11 @@ def config():
logger.addHandler(LogHandler())
logger.setLevel(logging.DEBUG)
def reset():
for handler in logging.getLogger('EMBY').handlers:
logging.getLogger('EMBY').removeHandler(handler)
class LogHandler(logging.StreamHandler):