Added notification id to the log message for upload pdf to make it easier to search for the letter notification in the logs.

This commit is contained in:
Rebecca Law
2018-03-01 10:37:07 +00:00
parent f0d91bf1c5
commit 891a80addf
2 changed files with 3 additions and 3 deletions

View File

@@ -46,5 +46,5 @@ def upload_letter_pdf(notification, pdf_data):
tags={Retention.KEY: Retention.ONE_WEEK}
)
current_app.logger.info("Uploaded letters PDF {} to {}".format(
upload_file_name, current_app.config['LETTERS_PDF_BUCKET_NAME']))
current_app.logger.info("Uploaded letters PDF {} to {} for notification id {}".format(
upload_file_name, current_app.config['LETTERS_PDF_BUCKET_NAME'], notification.id))