11

Does anyone know how I can log the sql output from Flyway?
It logs sql errors only, but I need to log information such as "table created", "table dropped" etc...

fat
  • 6,435
  • 5
  • 44
  • 70
tosi
  • 1,873
  • 2
  • 18
  • 38

1 Answers1

7

If you use the API you can see the statements being executed by setting the log level of com.googlecode.flyway.core.dbsupport.SqlScript to debug.

Youcef LAIDANI
  • 55,661
  • 15
  • 90
  • 140
Axel Fontaine
  • 34,542
  • 16
  • 106
  • 137