Only quiet the particular logger we think is too noisy.

This commit is contained in:
Ned Batchelder
2013-07-18 11:53:21 -04:00
parent 3d67c506a3
commit 900e794c02

View File

@@ -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"],