<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>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:</div><div><br></div><div>In logback.xml, add:</div><div><br></div><div><logger name=“com.foo.bar” level=“ERROR” /></div><div><br></div><div>Then only error messages will be printed for classes in sub packages of com.foo.bar</div><div><br></div><div><br></div><div>David</div><br><div><div>On 23 Nov 2014, at 10:44, rails <<a href="mailto:stammailbox@gmail.com">stammailbox@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><span style="font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 17.8048000335693px;">I am using slf4j over logback in java.</span><br style="font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 17.8048000335693px;"><span style="font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 17.8048000335693px;">How do I eliminate logging from a specific jar?</span><br style="font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 17.8048000335693px;"><span style="font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 17.8048000335693px;">It prints a lot of info and I want to raise only its level to debug.</span><br></div>
_______________________________________________<br>Logback-user mailing list<br><a href="mailto:Logback-user@qos.ch">Logback-user@qos.ch</a><br>http://mailman.qos.ch/mailman/listinfo/logback-user</blockquote></div><br></body></html>