If the code in that jar is all using the same package name (which is commonly how it’s done), then you can do it like this:
In logback.xml, add:
<logger name=“com.foo.bar” level=“ERROR” />
Then only error messages will be printed for classes in sub packages of com.foo.bar
David
I am using slf4j over logback in java.
How do I eliminate logging from a specific jar?
It prints a lot of info and I want to raise only its level to debug.
_______________________________________________
Logback-user mailing list
Logback-user@qos.ch
http://mailman.qos.ch/mailman/listinfo/logback-user