From 2ba00d7fc5f372c8094079c35fd94c33480e554e Mon Sep 17 00:00:00 2001 From: Allie Crevier Date: Fri, 8 May 2020 16:33:30 -0700 Subject: [PATCH] remove redundant logs from Controller --- securedrop_client/logic.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/securedrop_client/logic.py b/securedrop_client/logic.py index 916979aca..14ef1b4ca 100644 --- a/securedrop_client/logic.py +++ b/securedrop_client/logic.py @@ -658,8 +658,6 @@ def on_message_download_failure(self, exception: DownloadException) -> None: """ Called when a message fails to download. """ - logger.info('Failed to download message: {}'.format(exception)) - if isinstance(exception, DownloadChecksumMismatchException): # Keep resubmitting the job if the download is corrupted. logger.warning('Failure due to checksum mismatch, retrying {}'.format(exception.uuid)) @@ -694,8 +692,6 @@ def on_reply_download_failure(self, exception: DownloadException) -> None: """ Called when a reply fails to download. """ - logger.info('Failed to download reply: {}'.format(exception)) - if isinstance(exception, DownloadChecksumMismatchException): # Keep resubmitting the job if the download is corrupted. logger.warning('Failure due to checksum mismatch, retrying {}'.format(exception.uuid)) @@ -828,8 +824,6 @@ def on_file_download_failure(self, exception: Exception) -> None: """ Called when a file fails to download. """ - logger.info('Failed to download file: {}'.format(exception)) - # Keep resubmitting the job if the download is corrupted. if isinstance(exception, DownloadChecksumMismatchException): logger.warning('Failure due to checksum mismatch, retrying {}'.format(exception.uuid))