mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-20 16:25:08 +00:00
Get the logger from a central place
This commit is contained in:
parent
7e141724c1
commit
795dfd38df
55 changed files with 157 additions and 167 deletions
|
@ -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)
|
||||
|
||||
#################################################################################################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue