Skip to content

Commit f3fb41f

Browse files
committed
idk
1 parent 83aafe5 commit f3fb41f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/server/s3_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ def upload_to_s3(content: str, s3_file_path: str, ingest_id: UUID) -> str:
220220
bucket_name = get_s3_bucket_name()
221221

222222
# Log upload attempt
223-
logger.info(f"Starting S3 upload - bucket: {bucket_name}, path: {s3_file_path}, ingest_id: {ingest_id}, content_size: {len(content)}")
223+
logger.info(f"Starting S3 upload - ingest_id: {ingest_id}, EXACT_UPLOAD: s3://{bucket_name}/{s3_file_path}, content_size: {len(content)}")
224224

225225
try:
226226
# Upload the content with ingest_id as tag
@@ -348,7 +348,7 @@ def get_s3_url_for_ingest_id(ingest_id: UUID) -> str | None:
348348
paginator = s3_client.get_paginator("list_objects_v2")
349349
page_iterator = paginator.paginate(Bucket=bucket_name, Prefix=search_prefix)
350350

351-
logger.info(f"S3 paginator created, starting object scan - ingest_id: {ingest_id}, bucket_name: {bucket_name}, prefix: {search_prefix}")
351+
logger.info(f"S3 paginator created, starting object scan - ingest_id: {ingest_id}, EXACT_SEARCH: s3://{bucket_name}/{search_prefix}")
352352
except ClientError as paginator_err:
353353
logger.error(
354354
f"Failed to create S3 paginator - ingest_id: {ingest_id}, bucket_name: {bucket_name}, "

0 commit comments

Comments
 (0)