瀏覽代碼

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

Romain 5 年之前
父節點
當前提交
1ca909f1eb
共有 1 個文件被更改,包括 3 次插入0 次删除
  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.setLevel(logging.INFO)
 
+    logger = logging.getLogger('django.db.backends.schema')
+    logger.setLevel('INFO')
+
     if len(args) == 0:
       print(self.help)
       sys.exit(1)