@@ -130,7 +130,7 @@ def create_s3_client() -> BaseClient:
130130 # Log S3 client creation (excluding sensitive info)
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 ))
133- logger .debug (
133+ logger .info (
134134 msg = "Creating S3 client" ,
135135 extra = {
136136 "s3_config" : log_config ,
@@ -184,7 +184,7 @@ def upload_to_s3(content: str, s3_file_path: str, ingest_id: UUID) -> str:
184184 }
185185
186186 # Log upload attempt
187- logger .debug ("Starting S3 upload" , extra = extra_fields )
187+ logger .info ("Starting S3 upload" , extra = extra_fields )
188188
189189 try :
190190 # Upload the content with ingest_id as tag
@@ -224,7 +224,7 @@ def upload_to_s3(content: str, s3_file_path: str, ingest_id: UUID) -> str:
224224 public_url = f"https://{ bucket_name } .s3.{ get_s3_config ()['region_name' ]} .amazonaws.com/{ s3_file_path } "
225225
226226 # Log successful upload
227- logger .debug (
227+ logger .info (
228228 "S3 upload completed successfully" ,
229229 extra = {
230230 "bucket_name" : bucket_name ,
@@ -281,10 +281,10 @@ def get_s3_url_for_ingest_id(ingest_id: UUID) -> str | None:
281281
282282 """
283283 if not is_s3_enabled ():
284- logger .debug ("S3 not enabled, skipping URL lookup for ingest_id: %s" , ingest_id )
284+ logger .info ("S3 not enabled, skipping URL lookup for ingest_id: %s" , ingest_id )
285285 return None
286286
287- logger .debug (msg = "Starting S3 URL lookup for ingest ID" , extra = {"ingest_id" : str (ingest_id )})
287+ logger .info (msg = "Starting S3 URL lookup for ingest ID" , extra = {"ingest_id" : str (ingest_id )})
288288
289289 try :
290290 s3_client = create_s3_client ()
@@ -309,7 +309,7 @@ def get_s3_url_for_ingest_id(ingest_id: UUID) -> str | None:
309309 target_ingest_id = ingest_id ,
310310 ):
311311 s3_url = _build_s3_url (key )
312- logger .debug (
312+ logger .info (
313313 msg = "Found S3 object for ingest ID" ,
314314 extra = {
315315 "ingest_id" : str (ingest_id ),
@@ -320,7 +320,7 @@ def get_s3_url_for_ingest_id(ingest_id: UUID) -> str | None:
320320 )
321321 return s3_url
322322
323- logger .debug (
323+ logger .info (
324324 msg = "No S3 object found for ingest ID" ,
325325 extra = {
326326 "ingest_id" : str (ingest_id ),
0 commit comments