diff --git a/resources/lib/kodimonitor.py b/resources/lib/kodimonitor.py index 6e6aa9ca..27db9a73 100644 --- a/resources/lib/kodimonitor.py +++ b/resources/lib/kodimonitor.py @@ -22,7 +22,6 @@ log = getLogger("PLEX."+__name__) # settings: window-variable WINDOW_SETTINGS = { - 'logLevel': 'plex_logLevel', 'enableContext': 'plex_context', 'plex_restricteduser': 'plex_restricteduser', 'force_transcode_pix': 'plex_force_transcode_pix', diff --git a/resources/settings.xml b/resources/settings.xml index 52865be1..bfe2d62a 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -146,7 +146,6 @@ - diff --git a/service.py b/service.py index b2b89407..6b8f464f 100644 --- a/service.py +++ b/service.py @@ -81,10 +81,8 @@ class Service(): def __init__(self): - logLevel = self.getLogLevel() self.monitor = Monitor() - window('plex_logLevel', value=str(logLevel)) window('plex_kodiProfile', value=tryDecode(translatePath("special://profile"))) window('plex_context', @@ -101,7 +99,6 @@ class Service(): % (settings('useDirectPaths') != "true")) log.info("Number of sync threads: %s" % settings('syncThreadNumber')) - log.info("Log Level: %s" % logLevel) log.info("Full sys.argv received: %s" % argv) # Reset window props for profile switch @@ -126,13 +123,6 @@ class Service(): # Set the minimum database version window('plex_minDBVersion', value="1.5.10") - def getLogLevel(self): - try: - logLevel = int(settings('logLevel')) - except ValueError: - logLevel = 0 - return logLevel - def __stop_PKC(self): """ Kodi's abortRequested is really unreliable :-(