[logback-user] How do I eliminate logging from a specific jar

Robert Kuhar robertkuhar at gmail.com
Wed Nov 26 02:04:10 CET 2014


You can shut it up entirely like...

<logger name=“com.foo.bar” level=“OFF” />

No?

Bob
On Nov 25, 2014 7:20 AM, "David Roussel" <nabble at diroussel.xsmail.com>
wrote:

> 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
>
>
>
> _______________________________________________
> 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/46d7a135/attachment.html>


More information about the Logback-user mailing list