Skip to content
Snippets Groups Projects

sg hacking hour: reduce log output from migrations in tests

Merged Warren Gifford 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

Merged by avatar (Apr 24, 2025 3:29am UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading