Skip to content

sg hacking hour: reduce log output from migrations in tests

Administrator requested to merge sg-hacking-hour/reduce-database-logs into main

Created by: mrnugget

Previously the migrations would be really noisy in test and log every time a test database would be migrated up.

This creates a seperate logger for the migrations runner with log level set to Error (which should be enough for migrations).

Before

screenshot_2022-08-05_17 43 03@2x

After

screenshot_2022-08-05_17 42 42@2x

Test plan

Manual testing, see screenshots.

Merge request reports

Loading