Commit 487eb0b5 by Douglas Hall

Merge pull request #271 from edx/ibrahimahmed443/SOL-1641-logging-issue

remove newline from logging; add exam code and course ID only
parents 74db30f6 a117d590
...@@ -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