2016-03-23 10:52:26,860 DEBUG org.apache.commons.beanutils.MethodUtils - Matching name=getEPort on class util.Conf
2016-03-23 10:52:26,861 DEBUG org.apache.commons.beanutils.MethodUtils - No match found.
2016-03-23 10:52:26,862 DEBUG org.apache.commons.beanutils.MethodUtils - Matching name=isEPort on class util.Conf
2016-03-23 10:52:26,862 DEBUG org.apache.commons.beanutils.MethodUtils - No match found.
2016-03-23 10:52:26,863 WARN net.sf.json.JSONObject - Tried to assign propertyePort: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