Get the logger from a central place

This commit is contained in:
Odd Stråbø 2020-04-19 03:05:59 +02:00
parent 7e141724c1
commit 795dfd38df
55 changed files with 157 additions and 167 deletions

View file

@ -3,7 +3,6 @@ from __future__ import division, absolute_import, print_function, unicode_litera
#################################################################################################
import logging
import os
import threading
import sys
@ -21,10 +20,11 @@ sys.path.insert(0, __base__)
from entrypoint import Service # noqa: F402
from helper.utils import settings # noqa: F402
from helper import LazyLogger # noqa: F402
#################################################################################################
LOG = logging.getLogger("JELLYFIN.service")
LOG = LazyLogger("service")
DELAY = int(settings('startupDelay') if settings('SyncInstallRunDone.bool') else 4 or 0)
#################################################################################################