jellyfin-kodi/resources/lib/entrypoint/__init__.py
owner 80897822d3 Updates logging to be more consistent
The way the logging was initialized varied from file to file. This just
updates the init to be the same everywhere. Also updates some LOG.warn
to be LOG.info.
2019-08-23 21:05:48 -05:00

24 lines
660 B
Python

# -*- coding: utf-8 -*-
#################################################################################################
import logging
import xbmc
import xbmcvfs
from helper import loghandler
from jellyfin import Jellyfin
#################################################################################################
Jellyfin.set_loghandler(loghandler.LogHandler, logging.DEBUG)
loghandler.reset()
loghandler.config()
LOG = logging.getLogger('JELLYFIN.' + __name__)
#################################################################################################
from default import Events
from service import Service
from context import Context