- Enable all DEBUG logs created by
org.flywaydbYour SQL and Java-based migrations are all run by code insideorg.flywaydb. Hence, if you want to debug what's wrong with your SQL/Java-based migrations, you can enable logging inorg.flywaydbby including the following in your profile'sapplication.ymlfile.
logging:
level:
org:
flywaydb: DEBUG
- Enable all DEBUG logs created by your Java-based migrations
If you have Java-based migration in your repository, and want to debug it, enable debug logs by including this in your profile's
application.ymlfile:
logging:
level:
db:
migration: DEBUG
NOTE: You need to have them placed in src/main/db/migration for this to work.
Top comments (0)