From ad637995c9d5cbcdd1851be84bf881bd90b5c062 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Thu, 7 Aug 2025 15:04:39 -0700 Subject: [PATCH] remove debug --- app/aws/s3.py | 2 -- app/celery/tasks.py | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/aws/s3.py b/app/aws/s3.py index fb8e17ed9..38845c0bd 100644 --- a/app/aws/s3.py +++ b/app/aws/s3.py @@ -76,9 +76,7 @@ def get_s3_client(): aws_secret_access_key=secret_key, region_name=region, ) - current_app.logger.info(hilite("About to call session.client")) s3_client = session.client("s3", config=AWS_CLIENT_CONFIG) - current_app.logger.info(hilite("SESSION CALLED")) return s3_client diff --git a/app/celery/tasks.py b/app/celery/tasks.py index 51ec334c8..51a237d51 100644 --- a/app/celery/tasks.py +++ b/app/celery/tasks.py @@ -617,7 +617,7 @@ def _generate_notifications_report(service_id, report_id, limit_days): notification.serialize_for_csv() for notification in pagination.items ] - current_app.logger.info(hilite(f"RAW: {notifications}")) + current_app.logger.debug(hilite(f"RAW: {notifications}")) # We try and get the next page of results to work out if we need provide a pagination link to the next page # in our response if it exists. Note, this could be done instead by changing `count_pages` in the previous @@ -666,7 +666,7 @@ def _generate_notifications_report(service_id, report_id, limit_days): service_id, report_id ) - current_app.logger.info( + current_app.logger.debug( hilite(f"REPORT {file_location} {csv_bytes.getvalue().decode('utf-8')}") ) if bucket_name == "":