mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-09 06:03:12 -04:00
remove debug
This commit is contained in:
@@ -76,9 +76,7 @@ def get_s3_client():
|
|||||||
aws_secret_access_key=secret_key,
|
aws_secret_access_key=secret_key,
|
||||||
region_name=region,
|
region_name=region,
|
||||||
)
|
)
|
||||||
current_app.logger.info(hilite("About to call session.client"))
|
|
||||||
s3_client = session.client("s3", config=AWS_CLIENT_CONFIG)
|
s3_client = session.client("s3", config=AWS_CLIENT_CONFIG)
|
||||||
current_app.logger.info(hilite("SESSION CALLED"))
|
|
||||||
return s3_client
|
return s3_client
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -617,7 +617,7 @@ def _generate_notifications_report(service_id, report_id, limit_days):
|
|||||||
notification.serialize_for_csv() for notification in pagination.items
|
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
|
# 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
|
# 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
|
service_id, report_id
|
||||||
)
|
)
|
||||||
|
|
||||||
current_app.logger.info(
|
current_app.logger.debug(
|
||||||
hilite(f"REPORT {file_location} {csv_bytes.getvalue().decode('utf-8')}")
|
hilite(f"REPORT {file_location} {csv_bytes.getvalue().decode('utf-8')}")
|
||||||
)
|
)
|
||||||
if bucket_name == "":
|
if bucket_name == "":
|
||||||
|
|||||||
Reference in New Issue
Block a user