Spring logging threshold not being set by logback

Viewed 6930

I am working with Spring (Core/Security/ldap and more), and logback. But for some reason spring does not receive the loggin threshhold set in the logback XML I can see that as well when i debug springs source code and i see that the

final boolean debug = logger.isDebugEnabled();

Is false

As well i would like to mention (I don't know if it has any relevance) that the logger that spring uses is:

org.apache.commons.logging.LogFactory
org.apache.commons.logging.Log

And not SLF4j like i use

So how am i supposed to enable the debug level and bring the logs into my SLF4J configuration..

Thanks

3 Answers
Related