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.<div><br></div><div>Nik<br><br><div class="gmail_quote">On Thu, Apr 21, 2011 at 1:19 PM, Chris <span dir="ltr">&lt;<a href="mailto:shef31@yahoo.com">shef31@yahoo.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">We&#39;re using slf4j and logback in our app.<br>
<br>
We&#39;ve got an app that depends on a library that depends on log4j (freemarker). When we invoke the library, we get:<br>
<br>
log4j:WARN No appenders could be found for logger (freemarker.runtime).<br>
<br>
This is strange, because log4j isn&#39;t on the classpath. We *do* have log4j-over-slf4j on the classpath, and we do have &quot;freemarker.runtime&quot; defined in logback.xml. Logback.xml is getting properly read and used by other parts of the application.<br>


<br>
Any suggestions on why the Freemarker library isn&#39;t properly using log4j-over-slf4j? Where should I look?<br>
<br>
<br>
_______________________________________________<br>
Logback-user mailing list<br>
<a href="mailto:Logback-user@qos.ch" target="_blank">Logback-user@qos.ch</a><br>
<a href="http://qos.ch/mailman/listinfo/logback-user" target="_blank">http://qos.ch/mailman/listinfo/logback-user</a><br>
</blockquote></div><br></div>