Make log levels more appropriate and change warn to warnings

This commit is contained in:
TrueTechy 2019-10-02 01:59:25 +01:00
parent 4c3732c517
commit 7bffbc98b5
12 changed files with 36 additions and 36 deletions

View file

@ -68,13 +68,13 @@ class ServiceManager(threading.Thread):
if __name__ == "__main__":
LOG.warn("-->[ service ]")
LOG.warn("Delay startup by %s seconds.", DELAY)
LOG.info("-->[ service ]")
LOG.info("Delay startup by %s seconds.", DELAY)
while True:
if not settings('enableAddon.bool'):
LOG.warn("Jellyfin for Kodi is not enabled.")
LOG.warning("Jellyfin for Kodi is not enabled.")
break
@ -93,4 +93,4 @@ if __name__ == "__main__":
break
LOG.warn("--<[ service ]")
LOG.info("--<[ service ]")