From 54e5197749f8139c8d1cb7c8fd0854b59f1e5d17 Mon Sep 17 00:00:00 2001 From: Dustyn Gibson <dustyn.gibson@gmail.com> Date: Sat, 6 Jun 2015 13:34:10 -0700 Subject: [PATCH] Nice and clean info now. Need to disable some of the debug logs completly to clean up debug logs! --- sickbeard/processTV.py | 4 ++-- sickbeard/show_queue.py | 2 +- sickbeard/tv.py | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/sickbeard/processTV.py b/sickbeard/processTV.py index e6c719d4..5fb41929 100644 --- a/sickbeard/processTV.py +++ b/sickbeard/processTV.py @@ -164,7 +164,7 @@ def processDir(dirName, nzbName=None, process_method=None, force=False, is_prior nzbNameOriginal = nzbName if not postpone: - result.output += logHelper(u"PostProcessing Path: " + path, logger.DEBUG) + result.output += logHelper(u"PostProcessing Path: " + path, logger.INFO) result.output += logHelper(u"PostProcessing Dirs: " + str(dirs), logger.DEBUG) rarFiles = filter(helpers.isRarFile, files) @@ -267,7 +267,7 @@ def processDir(dirName, nzbName=None, process_method=None, force=False, is_prior result.missedfiles.append(processPath + " : Syncfiles found") if result.aggresult: - result.output += logHelper(u"Successfully processed") + result.output += logHelper(u"Processing completed") if result.missedfiles: result.output += logHelper(u"I did encounter some unprocessable items: ") for missedfile in result.missedfiles: diff --git a/sickbeard/show_queue.py b/sickbeard/show_queue.py index 0b9d85f7..0da740f5 100644 --- a/sickbeard/show_queue.py +++ b/sickbeard/show_queue.py @@ -519,7 +519,7 @@ class QueueItemUpdate(ShowQueueItem): ShowQueueItem.run(self) - logger.log(u"Beginning update of " + self.show.name) + logger.log(u"Beginning update of " + self.show.name, logger.DEBUG) logger.log(u"Retrieving show info from " + sickbeard.indexerApi(self.show.indexer).name + "", logger.DEBUG) try: diff --git a/sickbeard/tv.py b/sickbeard/tv.py index 93c4207f..4b8e0199 100644 --- a/sickbeard/tv.py +++ b/sickbeard/tv.py @@ -466,7 +466,7 @@ class TVShow(object): def loadEpisodesFromDB(self): - logger.log(u"Loading all episodes from the DB") + logger.log(u"Loading all episodes from the DB", logger.DEBUG) myDB = db.DBConnection() sql = "SELECT * FROM tv_episodes WHERE showid = ?" @@ -549,7 +549,7 @@ class TVShow(object): return None logger.log( - str(self.indexerid) + u": Loading all episodes from " + sickbeard.indexerApi(self.indexer).name + "..") + str(self.indexerid) + u": Loading all episodes from " + sickbeard.indexerApi(self.indexer).name + "..", logger.DEBUG) scannedEps = {} @@ -841,7 +841,7 @@ class TVShow(object): def loadFromIndexer(self, cache=True, tvapi=None, cachedSeason=None): - logger.log(str(self.indexerid) + u": Loading show info from " + sickbeard.indexerApi(self.indexer).name) + logger.log(str(self.indexerid) + u": Loading show info from " + sickbeard.indexerApi(self.indexer).name, logger.DEBUG) # There's gotta be a better way of doing this but we don't wanna # change the cache value elsewhere @@ -909,7 +909,7 @@ class TVShow(object): self.imdbid = i.title2imdbID(self.name, kind='tv series') if self.imdbid: - logger.log(str(self.indexerid) + u": Loading show info from IMDb") + logger.log(str(self.indexerid) + u": Loading show info from IMDb", logger.DEBUG) imdbTv = i.get_movie(str(re.sub("[^0-9]", "", self.imdbid))) -- GitLab