To set the log level of log requests from such libraries, put the following snippet in log4j.xml file.
<logger name="org.thirdpartlib">
<!-- Print only messages of level warn or above in the package <span style="font-style: italic;">thirdpartlib</span>-->
<level value="WARN"/>
</logger>
Replace org.thirdpartylib with appropriate value. That should be do the magic.
PS: org.thirdpartlib.* won't work.
No comments:
Post a Comment