How to forward Liquibase logging to LOG4J or SLF4J or any other "standard" logging facility?

Since 2.0, the logging system is extensible and can be overridden however you want. There is an existing plugin for slf4j at  http://liquibase.jira.com/wiki/display/CONTRIB/Slf4j+Logging+for+Liquibase+(liquibase-slf4j) which you can use, or use it to base any other logging framework code off of.


Nathan

I’m running Liquibase in runtime and would like to control its logging behavior. Is it possible somehow to teach it to use LOG4J or SLF4J or anything else, that is configurable?

Good news, thanks! What are maven coordinates of this plugin?

It probably doesn’t have a pre-built maven package. It is maintained by someone other than me, so I have not set anything up.


Nathan