vitaly numenta <vitaly.krugl.nume...@gmail.com> wrote:
> During a recent particularly lengthy *single-version* migration that took > about 17 hours, my IT colleague asked to enable some periodic progress > reporting from alembic to be able to tell roughly how far along the migration > is. Even if it was just to enable echoing of the SQL commands as the are > being executed. > > I searched online, including alembic's documentation and API, but came up > empty-handed. Is there a way to enable progress-reporting within a version or > at least echoing of SQL commands as they are being executed? the logging that is in the basic example will log all SQL statements to stdout. [logger_sqlalchemy] level = INFO # change from WARN handlers = qualname = sqlalchemy.engine see https://docs.python.org/2/library/logging.config.html#configuration-file-format > > Thank you, > Vitaly > > -- > You received this message because you are subscribed to the Google Groups > "sqlalchemy-alembic" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sqlalchemy-alembic+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sqlalchemy-alembic" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy-alembic+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.