24

Is there a way to show Flyway migration steps in the console, while starting a Spring Boot app? Migration is working correctly. I just do not see any log about it.

I have checked flyway properties, but there is nothing about it.

Sean Mickey
  • 7,618
  • 2
  • 32
  • 58
hybaken
  • 466
  • 1
  • 5
  • 16

1 Answers1

38

you could add this in your logback.xml file

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

or this to only get the sql scripts :

<logger name="org.flywaydb.core.internal.dbsupport.SqlScript" level="DEBUG"/>
maximede
  • 1,763
  • 14
  • 24
  • 7
    Thanks, it leaded me to right way. I'm set it via properties: level.org.flywaydb.core.internal.command.DbMigrate=DEBUG – hybaken Mar 17 '16 at 17:41
  • 19
    Yes thats right, you can also use "logging.level.org.flywaydb=debug" in application.properties – shinchillahh Apr 14 '16 at 13:02