Commit a19d2e76 by Adam Palay

quiet some noisy logs

parent 933fdae5
......@@ -1067,8 +1067,11 @@ class CapaMixin(CapaFields):
self.set_last_submission_time()
except (StudentInputError, ResponseError, LoncapaProblemError) as inst:
log.warning("StudentInputError in capa_module:problem_check",
exc_info=True)
if self.runtime.DEBUG:
log.warning(
"StudentInputError in capa_module:problem_check",
exc_info=True
)
# Save the user's state before failing
self.set_state_from_lcp()
......
......@@ -98,8 +98,8 @@ class CapaModule(CapaMixin, XModule):
try:
result = handlers[dispatch](data)
except NotFoundError as err:
log.exception(
except NotFoundError:
log.info(
"Unable to find data when dispatching %s to %s for user %s",
dispatch,
self.scope_ids.usage_id,
......
......@@ -1244,7 +1244,7 @@ class CourseDescriptor(CourseFields, SequenceDescriptor, LicenseMixin):
raise ValueError
return ret
except (TypeError, ValueError):
log.exception(
log.info(
"Error parsing discussion_blackouts %s for course %s",
self.discussion_blackouts,
self.id
......
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