File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -131,11 +131,7 @@ def create_s3_client() -> BaseClient:
131131 log_config = config .copy ()
132132 has_credentials = bool (log_config .pop ("aws_access_key_id" , None ) or log_config .pop ("aws_secret_access_key" , None ))
133133 logger .info (
134- msg = "Creating S3 client" ,
135- extra = {
136- "s3_config" : log_config ,
137- "has_credentials" : has_credentials ,
138- },
134+ msg = f"Creating S3 client with config: { log_config } , has_credentials: { has_credentials } "
139135 )
140136 return boto3 .client ("s3" , ** config )
141137
@@ -315,7 +311,7 @@ def get_s3_url_for_ingest_id(ingest_id: UUID) -> str | None:
315311 return s3_url
316312
317313 logger .info (
318- msg = f"No S3 obj for ingest_id={ ingest_id } (checked { objects_checked } )" ,
314+ msg = f"No S3 obj for ingest_id={ ingest_id } (checked { objects_checked } , bucket_name= { bucket_name } )" ,
319315 )
320316
321317 except ClientError as err :
You can’t perform that action at this time.
0 commit comments