Browse Source

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

Romain 5 năm trước cách đây
mục cha
commit
1ca909f1eb
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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)