diff --git a/cinder/tests/unit/test.py b/cinder/tests/unit/test.py index 66659b275f6..757fa6c0306 100644 --- a/cinder/tests/unit/test.py +++ b/cinder/tests/unit/test.py @@ -84,8 +84,12 @@ class Database(fixtures.Fixture): SESSION_CONFIGURED = True # Suppress logging for test runs - migrate_logger = logging.getLogger('migrate') - migrate_logger.setLevel(logging.WARNING) + + alembic_logger = logging.getLogger('alembic.runtime.migration') + alembic_logger.setLevel(logging.WARNING) + + db_logger = logging.getLogger('cinder.db.migration') + db_logger.setLevel(logging.WARNING) def setUp(self): super().setUp()