<p dir="ltr">You can shut it up entirely like...</p>
<p dir="ltr"><logger name=“com.foo.bar” level=“OFF” /></p>
<p dir="ltr">No?</p>
<p dir="ltr">Bob</p>
<div class="gmail_quote">On Nov 25, 2014 7:20 AM, "David Roussel" <<a href="mailto:nabble@diroussel.xsmail.com">nabble@diroussel.xsmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><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" target="_blank">stammailbox@gmail.com</a>> wrote:</div><br><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" target="_blank">Logback-user@qos.ch</a><br><a href="http://mailman.qos.ch/mailman/listinfo/logback-user" target="_blank">http://mailman.qos.ch/mailman/listinfo/logback-user</a></blockquote></div><br></div><br>_______________________________________________<br>
Logback-user mailing list<br>
<a href="mailto:Logback-user@qos.ch">Logback-user@qos.ch</a><br>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-user" target="_blank">http://mailman.qos.ch/mailman/listinfo/logback-user</a><br></blockquote></div>