Browse Source

HUE-8888 [test] Avoid all the debug output of the DB migrations

Romain 5 years ago
parent
commit
1ca909f1eb
1 changed files with 3 additions and 0 deletions
  1. 3 0
      desktop/core/src/desktop/management/commands/test.py

+ 3 - 0
desktop/core/src/desktop/management/commands/test.py

@@ -133,6 +133,9 @@ class Command(BaseCommand):
     #south_logger = logging.getLogger('south')
     #south_logger = logging.getLogger('south')
     #south_logger.setLevel(logging.INFO)
     #south_logger.setLevel(logging.INFO)
 
 
+    logger = logging.getLogger('django.db.backends.schema')
+    logger.setLevel('INFO')
+
     if len(args) == 0:
     if len(args) == 0:
       print(self.help)
       print(self.help)
       sys.exit(1)
       sys.exit(1)