- Enable all DEBUG logs created by
org.flywaydb
Your 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.flywaydb
by including the following in your profile'sapplication.yml
file.
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.yml
file:
logging:
level:
db:
migration: DEBUG
NOTE: You need to have them placed in src/main/db/migration
for this to work.
Top comments (0)