Adding a log message

This commit is contained in:
Rebecca Law
2018-12-21 14:09:29 +00:00
parent 62a8076161
commit 8e832a1178

View File

@@ -334,7 +334,8 @@ def delete_notifications_created_more_than_a_week_ago_by_type(notification_type,
)
if notification_type == LETTER_TYPE:
_delete_letters_from_s3(query)
current_app.logger.info(
"Deleting {} notifications for service id: {}".format(notification_type, f.service_id))
deleted += _delete_notifications(deleted, query)
current_app.logger.info(