diff --git a/cinder/tests/unit/test.py b/cinder/tests/unit/test.py index e84470f58dc..1cd427f0696 100644 --- a/cinder/tests/unit/test.py +++ b/cinder/tests/unit/test.py @@ -76,8 +76,12 @@ class Database(fixtures.Fixture): super().__init__() # 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()