Skip to content

Commit

Permalink
fixed bug that kept logs from being written... see sbt#118
Browse files Browse the repository at this point in the history
  • Loading branch information
clintmiller1 committed Feb 13, 2025
1 parent 2ca2c29 commit d3288f0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/scala/flywaysbt/FlywayPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -395,14 +395,18 @@ object FlywayPlugin extends AutoPlugin {

private implicit class FluentConfigurationyOps(val flyway: FluentConfiguration) extends AnyVal {
def configure(config: Config): Flyway = {
flyway
val result = flyway
.configure(config.base)
.configure(config.migrationLoading)
.configure(config.sqlMigration)
.configure(config.migrate)
.configure(config.placeholder)
.configureSysProps(config.dataSource)
.load()

LogFactory.setLogCreator(SbtLogCreator)

result
}
def configure(config: ConfigBase): FluentConfiguration = {
flyway
Expand Down

0 comments on commit d3288f0

Please sign in to comment.