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" <[email protected]>
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 <[email protected]> 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
> [email protected]
> http://mailman.qos.ch/mailman/listinfo/logback-user
>
>
>
> _______________________________________________
> Logback-user mailing list
> [email protected]
> http://mailman.qos.ch/mailman/listinfo/logback-user
>
_______________________________________________
Logback-user mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-user

Reply via email to