Logging into flyway sql using Spring Boot

Is there a way to show the Flyway migration steps in the console when starting the Spring Boot app? Migration is working correctly. I just don't see any posts about this.

I checked the properties of the flyway , but there is nothing in it.

+4
source share
1 answer

you can add this to your logback.xml file

<logger name="org.flywaydb" level="DEBUG"/>

or is it just for getting sql scripts:

<logger name="org.flywaydb.core.internal.dbsupport.SqlScript" level="DEBUG"/>
+3
source

All Articles