关闭log4j 输出 DEBUG org.apache.commons.beanutils.*

2016-03-23 10:52:26,860 DEBUG org.apache.commons.beanutils.MethodUtils - Matchin g name=getEPort on class util.Conf
2016-03-23 10:52:26,861 DEBUG org.apache.commons.beanutils.MethodUtils - No matc h found.
2016-03-23 10:52:26,862 DEBUG org.apache.commons.beanutils.MethodUtils - Matchin g name=isEPort on class util.Conf
2016-03-23 10:52:26,862 DEBUG org.apache.commons.beanutils.MethodUtils - No matc h found.
2016-03-23 10:52:26,863 WARN  net.sf.json.JSONObject - Tried to assign property ePort:java.lang.Integer to bean of class util.Conf
log4j记录日志输出上面调试信息,关闭的解决方法:log4j.properties可以关闭
log4j.properties中添加如下:
  
  
  
  
log4j.logger.org.apache.commons.beanutils.converters=off

log4j.logger.org.apache.commons.beanutils.MethodUtils=off

log4j.logger.org.apache.commons.beanutils=off



 

你可能感兴趣的:(关闭log4j 输出 DEBUG org.apache.commons.beanutils.*)