[logback-user] Still getting log4j messages

Nikolas Everett nik9000 at gmail.com
Thu Apr 21 19:29:51 CEST 2011

If you happen to be using maven then `mvn dependency:tree` would be the
place to start.  My guess is that log4j snuck into your classpath somewhere.


On Thu, Apr 21, 2011 at 1:19 PM, Chris <shef31 at yahoo.com> wrote:

> We're using slf4j and logback in our app.
> We've got an app that depends on a library that depends on log4j
> (freemarker). When we invoke the library, we get:
> log4j:WARN No appenders could be found for logger (freemarker.runtime).
> This is strange, because log4j isn't on the classpath. We *do* have
> log4j-over-slf4j on the classpath, and we do have "freemarker.runtime"
> defined in logback.xml. Logback.xml is getting properly read and used by
> other parts of the application.
> Any suggestions on why the Freemarker library isn't properly using
> log4j-over-slf4j? Where should I look?
> _______________________________________________
> Logback-user mailing list
> Logback-user at qos.ch
> http://qos.ch/mailman/listinfo/logback-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-user/attachments/20110421/63744e52/attachment.html>

More information about the Logback-user mailing list