Skip to content

Commit 087c9e8

Browse files
committed
idk
1 parent 1e791c6 commit 087c9e8

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/server/s3_utils.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)