Filter out alembic logs below WARNING in tests
During functional tests we see quite a bit of alembic INFO level logging which we don't really need. This change sets the alembic logging level to WARNING to remove that noise. Change-Id: I9550e1c0c93b48e234f429204e27960d0d1cda81 Related-Bug: #1813147
This commit is contained in:
parent
7b96366f78
commit
3c27f3cdc0
|
@ -184,6 +184,8 @@ class StandardLogging(fixtures.Fixture):
|
|||
# Don't log every single DB migration step
|
||||
std_logging.getLogger(
|
||||
'migrate.versioning.api').setLevel(std_logging.WARNING)
|
||||
# Or alembic for model comparisons.
|
||||
std_logging.getLogger('alembic').setLevel(std_logging.WARNING)
|
||||
|
||||
# At times we end up calling back into main() functions in
|
||||
# testing. This has the possibility of calling logging.setup
|
||||
|
|
Loading…
Reference in New Issue