From 900e794c0224c2812fde92a677770e8a65644d61 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Thu, 18 Jul 2013 11:53:21 -0400 Subject: [PATCH] Only quiet the particular logger we think is too noisy. --- lms/djangoapps/courseware/management/commands/clean_history.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/courseware/management/commands/clean_history.py b/lms/djangoapps/courseware/management/commands/clean_history.py index c266e2df53..4286e17658 100644 --- a/lms/djangoapps/courseware/management/commands/clean_history.py +++ b/lms/djangoapps/courseware/management/commands/clean_history.py @@ -47,7 +47,7 @@ class Command(NoArgsCommand): def handle_noargs(self, **options): # We don't want to see the SQL output from the db layer. - logging.getLogger("").setLevel(logging.INFO) + logging.getLogger("django.db.backends").setLevel(logging.INFO) smhc = StudentModuleHistoryCleaner( dry_run=options["dry_run"],