From 25856bfac03041a78e59e4247b135b2b409b7eb9 Mon Sep 17 00:00:00 2001 From: lzzy12 Date: Tue, 24 Mar 2020 15:49:04 +0530 Subject: [PATCH] gdrive: Stop spamming logs at INFO log level Signed-off-by: lzzy12 --- bot/helper/mirror_utils/upload_utils/gdriveTools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/helper/mirror_utils/upload_utils/gdriveTools.py b/bot/helper/mirror_utils/upload_utils/gdriveTools.py index 4f795c2..0154da0 100644 --- a/bot/helper/mirror_utils/upload_utils/gdriveTools.py +++ b/bot/helper/mirror_utils/upload_utils/gdriveTools.py @@ -75,7 +75,7 @@ class GoogleDriveHelper: if self.status is not None: chunk_size = self.status.total_size * self.status.progress() - self._file_uploaded_bytes self._file_uploaded_bytes = self.status.total_size * self.status.progress() - LOGGER.info(f'Chunk size: {get_readable_file_size(chunk_size)}') + LOGGER.debug(f'Uploading {self.name}, chunk size: {get_readable_file_size(chunk_size)}') self.uploaded_bytes += chunk_size self.total_time += self.update_interval