diff --git a/charon/pkgs/maven.py b/charon/pkgs/maven.py index 2ac68a4b..26745d16 100644 --- a/charon/pkgs/maven.py +++ b/charon/pkgs/maven.py @@ -316,17 +316,16 @@ def handle_maven_uploading( root=top_level ) logger.info("Files uploading done\n") - succeeded = True for target in targets: # 5. Do manifest uploading - manifest_folder = target[0] - logger.info("Start uploading manifest to s3 bucket %s", manifest_bucket_name) if not manifest_bucket_name: logger.warning( 'Warning: No manifest bucket is provided, will ignore the process of manifest ' 'uploading\n') else: + logger.info("Start uploading manifest to s3 bucket %s", manifest_bucket_name) + manifest_folder = target[0] manifest_name, manifest_full_path = write_manifest(valid_mvn_paths, top_level, prod_key) s3_client.upload_manifest( manifest_name, manifest_full_path, diff --git a/charon/storage.py b/charon/storage.py index bcb2cc87..3fcb7184 100644 --- a/charon/storage.py +++ b/charon/storage.py @@ -287,7 +287,7 @@ async def __copy_between_bucket( self, source: str, source_key: str, target: s3.Bucket, target_key: str ) -> bool: - logger.info( + logger.debug( "Copying file %s from bucket %s to target %s as %s", source_key, source, target.name, target_key) copy_source = {