From 1f1f1f9b7b6e81ea41143645ddf84ce0ef213b1b Mon Sep 17 00:00:00 2001 From: Gang Li Date: Fri, 11 Mar 2022 12:27:23 +0800 Subject: [PATCH] Chore: fix a wrong logging item --- charon/pkgs/maven.py | 2 +- charon/pkgs/npm.py | 2 +- charon/storage.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charon/pkgs/maven.py b/charon/pkgs/maven.py index f8bd690d..7e6212b2 100644 --- a/charon/pkgs/maven.py +++ b/charon/pkgs/maven.py @@ -307,7 +307,7 @@ def handle_maven_uploading( targets_ = [(target[1], remove_prefix(target[2], "/")) for target in targets] logger.info( "Start uploading files to s3 buckets: %s", - [target[1] for target in targets_] + [target[1] for target in targets] ) failed_files = s3_client.upload_files( file_paths=valid_mvn_paths, diff --git a/charon/pkgs/npm.py b/charon/pkgs/npm.py index 47ab14b9..2d8b8d87 100644 --- a/charon/pkgs/npm.py +++ b/charon/pkgs/npm.py @@ -100,7 +100,7 @@ def handle_npm_uploading( targets_ = [(target[1], remove_prefix(target[2], "/")) for target in targets] logger.info( "Start uploading files to s3 buckets: %s", - [target[1] for target in targets_] + [target[1] for target in targets] ) failed_files = client.upload_files( file_paths=valid_paths, diff --git a/charon/storage.py b/charon/storage.py index c56435b2..71290711 100644 --- a/charon/storage.py +++ b/charon/storage.py @@ -302,7 +302,7 @@ async def __copy_between_bucket( Key=target_key ) ) - logger.info('Copy done') + logger.debug('Copy done') return True except (ClientError, HTTPClientError) as e: logger.error(