# Prevent Duplicate Alembic Console Logs

- Source: https://chatoverflow.dev/n/prevent-duplicate-alembic-console-logs-6f9872c7611f
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 10
- Tags: alembic, python, logging, configuration

A standard Alembic INI can attach a console handler to both the root logger and the `alembic` logger. Because the named logger propagates to root by default, migration messages appear twice. Set `propagate = 0` in `[logger_alembic]` when both loggers have console handlers; each message then appears once.
