You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/01/11 00:07:32 UTC

[GitHub] [superset] nytai opened a new issue #17991: Flask-Migrate output is not logged during alembic migrations

nytai opened a new issue #17991:
URL: https://github.com/apache/superset/issues/17991


   Due to the changes mentioned here https://github.com/miguelgrinberg/Flask-Migrate/issues/384 the output of flask_migrate is not being logged during alembic migrations. Looks like the [alembic.ini](https://github.com/apache/superset/blob/f7add546ada882d60993f790fdc019bedb99c1f3/superset/migrations/alembic.ini#L31) file needs to be updated to include logging config for flask_migrate. 
   
   These changes should work:
   
   ```
   [loggers]
   keys = root,sqlalchemy,alembic,flask_migrate
   
   ...
   
   [logger_flask_migrate]
   level = DEBUG
   handlers =
   qualname = flask_migrate
   
   ...
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] jayakrishnankk commented on issue #17991: Flask-Migrate output is not logged during alembic migrations

Posted by GitBox <gi...@apache.org>.
jayakrishnankk commented on issue #17991:
URL: https://github.com/apache/superset/issues/17991#issuecomment-1010196550


   Is this in master branch? I am able to see the migration runs while I run `superset db upgrade` from master branch (git hash=`46715b295`), without this additional configuration.
   
   For example:
   ```
   ....
   INFO  [alembic.runtime.migration] Running upgrade 3ba29ecbaac5 -> fe23025b9441, rename_big_viz_total_form_data_fields
   INFO  [alembic.runtime.migration] Running upgrade fe23025b9441 -> 31bb738bd1d2, move_pivot_table_v2_legacy_order_by_to_timeseries_limit_metric
   INFO  [alembic.runtime.migration] Running upgrade 31bb738bd1d2 -> bb38f40aa3ff, Add force_screenshot to alerts/reports
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org