java - Disable log output from libraries -
in java program, using log4j2 (debug) output. when using third party libary, disable log output these libraries. how can that?
actually seems quite simple me not find solution it. can't 1 looking this?
an example of turning off logging in log4j 1.x add following xml tag log4j.xml. category name package path root of library want ignore logging from. example ignore log4j logging apache tiles library use following:
<category name="org.apache.tiles"> <priority value = "off" /> </category>
Comments
Post a Comment