I'm using the standard Flyway Gradle plugin from Flyway 3.2.1
Flyway doesn't seem to output any SQL logging, at least not at debug level.
I've configured p6spy and I can now see the SQL that Flyway is issuing, but only by enabling Gradle debug output with the "-d" switch. But when Gradle is invoked with the "-d" switch, it outputs far too much noise. This is my fallback position for now, but it's not very nice.
Ultimately, all I want to do is get the DDL that Flyway is issuing when I run the flywayMigrate output to the build log on our CI server - but I can't figure out any way to do it other than the "p6spy + enable all debug output" method outlined above.
I'm Ok with using p6spy, but I can't figure out how to configure Gradle logging for just the p6spy logger. Even just enabling all Gradle debug logging for only the flyway migrate task would also probably be Ok - it's all the Gradle bookkeeping (dependencies and whatnot) that's gumming up the logs.
So that's the question: how can I cut down on all this debug logging so I can see just the DDL that flyway is issuing.