Merge pull request #729 from alphagov/logging-around-jobs-and-tasks

Added job id to logger
This commit is contained in:
imdadahad
2016-11-07 12:00:48 +00:00
committed by GitHub

View File

@@ -136,7 +136,7 @@ def send_sms(self,
)
current_app.logger.info(
"SMS {} created at {}".format(notification_id, created_at)
"SMS {} created at {} for job {}".format(notification_id, created_at, notification.get('job', None))
)
except SQLAlchemyError as e: