[slf4j-user] slf4j and log4j - log4j.properties file settings overridden

Dimuthu Leelarathne dimuthul at wso2.com
Mon Jan 28 09:59:16 CET 2008


Hi All,

I have two libraries, let's call them X.jar and Y.jar

X.jar - uses log4j and commons logging
Y.jar - uses slf4j

My application needs to use both X.jar and Y.jar

Now my problem is that even though I set log level at log4j.properties
as FATAL, all the log messages from X.jar are still printed to the
console.

It looks like settings in my log4j.properties file is overridden
somehow.

How can I overcome this problem. I will be thankful to any ideas.

Thank you,
Dimuthu

 





More information about the slf4j-user mailing list