mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 10:46:11 +00:00
fix: #396 Kodi's LOGNOTICE loglevel is deprecated
KODI recenly deprecated LOGNOTICE (as per https://github.com/xbmc/xbmc/pull/18346) and announced that LOGINFO should be used instead. LOGINFO has been available since kodi matrix's migration to spdlog in april 2020.
This commit is contained in:
parent
b66a838778
commit
8ebee6e6de
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ class LogHandler(logging.StreamHandler):
|
||||||
for token in self.sensitive['Token']:
|
for token in self.sensitive['Token']:
|
||||||
string = string.replace(token or "{token}", "{jellyfin-token}")
|
string = string.replace(token or "{token}", "{jellyfin-token}")
|
||||||
|
|
||||||
xbmc.log(string, level=xbmc.LOGNOTICE)
|
xbmc.log(string, level=xbmc.LOGINFO)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def _get_log_level(cls, level):
|
def _get_log_level(cls, level):
|
||||||
|
|
Loading…
Reference in a new issue