Configure logging in Spring webapp using slf4j/logback

Hey guys,

I have a spring webapp using liquibase 1.9.x and would like to log with slf4j/logback. An earlier post mentions adding code such as
http://liquibase.org/forum/index.php?topic=31.0

    LogFactory.getLogger().addHandler(new SLF4JBridgeHandler());

But where do you add this code ? liquibase.spring.SpringLiquibase runs when Spring context is being initialized.

Thank you

I think the best place would be to create your own subclass of SpringLiquibase and override afterPropertiesSet and set in that method, before a call to super.afterPropertiesSet()

Nathan