diff --git a/jellyfin_kodi/helper/loghandler.py b/jellyfin_kodi/helper/loghandler.py index 86200632..a9949f94 100644 --- a/jellyfin_kodi/helper/loghandler.py +++ b/jellyfin_kodi/helper/loghandler.py @@ -61,7 +61,8 @@ class LogHandler(logging.StreamHandler): for token in self.sensitive['Token']: string = string.replace(token or "{token}", "{jellyfin-token}") - xbmc.log(string, level=xbmc.LOGINFO) + xbmc.log(string, level=getattr(xbmc, 'LOGNOTICE', xbmc.LOGINFO)) + @classmethod def _get_log_level(cls, level):