Merge pull request #2985 from alphagov/reduce-logs

Reduce logs
This commit is contained in:
Rebecca Law
2020-09-28 12:05:17 +01:00
committed by GitHub

View File

@@ -318,7 +318,7 @@ def save_api_email(self,
[notification['id']],
queue=q
)
current_app.logger.info(f"Email {notification['id']} has been persisted and sent to delivery queue.")
current_app.logger.debug(f"Email {notification['id']} has been persisted and sent to delivery queue.")
except IntegrityError:
current_app.logger.info(f"Email {notification['id']} already exists.")