From 84c8fa3072dfc2195903e19cf32b7433d0a2b831 Mon Sep 17 00:00:00 2001 From: Alex Dusenbery Date: Fri, 15 Sep 2017 16:21:30 -0400 Subject: [PATCH] EDUCATOR-1371 | Turn off excessive SubsectionGradeFactory logging. --- lms/djangoapps/grades/new/subsection_grade_factory.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lms/djangoapps/grades/new/subsection_grade_factory.py b/lms/djangoapps/grades/new/subsection_grade_factory.py index 751543f2d8..b39203bdce 100644 --- a/lms/djangoapps/grades/new/subsection_grade_factory.py +++ b/lms/djangoapps/grades/new/subsection_grade_factory.py @@ -67,9 +67,7 @@ class SubsectionGradeFactory(object): """ Updates the SubsectionGrade object for the student and subsection. """ - # Save ourselves the extra queries if the course does not persist - # subsection grades. - self._log_event(log.warning, u"update, subsection: {}".format(subsection.location), subsection) + self._log_event(log.debug, u"update, subsection: {}".format(subsection.location), subsection) calculated_grade = SubsectionGrade(subsection).init_from_structure( self.student, self.course_data.structure, self._submissions_scores, self._csm_scores,