Reduce log noise during database setup
Table of Contents
This page is a capture in the next bucket of the product backlog — a pre-sprint idea, not yet pulled into a sprint as a story.
What
(One paragraph: the idea.)
Why
(Motivation, problem being solved, related context.)
References
See also
Database setup is very noisy. Key offenders:
- Per-row
NOTICE: Created change reason category: system(and similar) for every seeded row. - Per-permission
NOTICE: Created permission: iam::accounts:create— dozens of lines. - TimescaleDB detection output.
Fix:
- Replace per-row raise with a single post-block summary:
NOTICE: Seeded N change reason categories. - Wrap permission seeding similarly.
- Suppress or redirect TimescaleDB internal notices using
SET client_min_messages = WARNING;around the relevant sections.