Commit a117d590 by Ibrahim Committed by Douglas Hall

remove newline from logging; add exam code and course ID only

parent 74db30f6
...@@ -477,7 +477,8 @@ class SoftwareSecureBackendProvider(ProctoringBackendProvider): ...@@ -477,7 +477,8 @@ class SoftwareSecureBackendProvider(ProctoringBackendProvider):
message = str(message) message = str(message)
log_msg = ( log_msg = (
'About to send payload to SoftwareSecure:\n{message}'.format(message=message) 'About to send payload to SoftwareSecure: examCode: {examCode}, courseID: {courseID}'.
format(examCode=body_json.get('examCode'), courseID=body_json.get('orgExtra').get('courseID'))
) )
log.info(log_msg) log.info(log_msg)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment