[logback-user] How do I eliminate logging from a specific jar
David Roussel
nabble at diroussel.xsmail.com
Tue Nov 25 16:21:56 CET 2014
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
On 23 Nov 2014, at 10:44, rails <stammailbox at gmail.com> wrote:
> 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 at qos.ch
> http://mailman.qos.ch/mailman/listinfo/logback-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20141125/289ee83c/attachment.html>
More information about the Logback-user
mailing list