Added job id to logger

This commit is contained in:
Martyn Inglis
2016-11-07 11:59:46 +00:00
parent edf22860e1
commit 15ba0a3eb1

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: