Commit 54e51977 authored by Dustyn Gibson's avatar Dustyn Gibson
Browse files

Nice and clean info now. Need to disable some of the debug logs completly to clean up debug logs!

parent a0da42f3
......@@ -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:
......
......@@ -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:
......
......@@ -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)))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment