diff --git a/app/celery/service_callback_tasks.py b/app/celery/service_callback_tasks.py index 4dfe0c953..d1179ff17 100644 --- a/app/celery/service_callback_tasks.py +++ b/app/celery/service_callback_tasks.py @@ -39,7 +39,7 @@ def send_delivery_status_to_service(self, notification_id): "reference": str(notification.client_reference), "to": notification.to, "status": notification.status, - "created_at": notification.created_at.strftime(DATETIME_FORMAT), # the time GOV.UK email sent the request + "created_at": notification.created_at.strftime(DATETIME_FORMAT), # the time service sent the request "completed_at": notification.updated_at.strftime(DATETIME_FORMAT), # the last time the status was updated "sent_at": notification.sent_at.strftime(DATETIME_FORMAT), # the time the email was sent "notification_type": notification.notification_type diff --git a/app/letters/utils.py b/app/letters/utils.py index 56da5d221..176944667 100644 --- a/app/letters/utils.py +++ b/app/letters/utils.py @@ -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))