Fix logging

This commit is contained in:
Labrys of Knossos 2022-12-18 02:33:17 -05:00
commit 6535c4f9b9
3 changed files with 3 additions and 3 deletions

View file

@ -218,7 +218,7 @@ def process(
and os.path.isdir(dir_name)
and not os.path.dirname(dir_name) == dir_name
):
log.postprocess(f'Deleting failed files and folder {dir_name}')
log.debug(f'Deleting failed files and folder {dir_name}')
remove_dir(dir_name)
# Return as failed to flag this in the downloader.
return ProcessResult.failure(

View file

@ -185,7 +185,7 @@ class PyMedusaApiV2(SickBeard):
# Log Medusa's PP logs here.
if response.get('output'):
for line in response['output']:
log.postprocess(line)
log.debug(line)
# For now this will most likely always be True.
# In the future we could return an exit state for when the PP in

View file

@ -605,7 +605,7 @@ class SickBeard:
for line in response.iter_lines():
if line:
line = line.decode('utf-8')
log.postprocess(line)
log.debug(line)
# if 'Moving file from' in line:
# input_name = os.path.split(line)[1]
# if 'added to the queue' in line: