Removed unnecessary log messages and changed some to debug (#167)

This commit is contained in:
Abby 2020-01-05 23:41:26 +00:00 committed by mcarlton00
parent 896c2fe6ec
commit 42258c699a
9 changed files with 65 additions and 67 deletions

View file

@ -124,7 +124,7 @@ class Database(object):
modified['time'] = modified_int
modified['file'] = file
LOG.info("Discovered database: %s", modified)
LOG.debug("Discovered database: %s", modified)
self.discovered_file = modified['file']
return xbmc.translatePath("special://database/%s" % modified['file'])
@ -184,7 +184,7 @@ class Database(object):
if self.commit_close and changes:
LOG.info("[%s] %s rows updated.", self.db_file, changes)
LOG.debug("[%s] %s rows updated.", self.db_file, changes)
self.conn.commit()
LOG.debug("---<[ database: %s ] %s", self.db_file, id(self.conn))
@ -210,7 +210,7 @@ def jellyfin_tables(cursor):
columns = cursor.execute("SELECT * FROM jellyfin")
if 'jellyfin_parent_id' not in [description[0] for description in columns.description]:
LOG.info("Add missing column jellyfin_parent_id")
LOG.debug("Add missing column jellyfin_parent_id")
cursor.execute("ALTER TABLE jellyfin ADD COLUMN jellyfin_parent_id 'TEXT'")