log4j.properties里添加: log4j.logger.org.apache.http=OFF log4j.logger.org.apache.http.wire=OFF 转载于:https://my.oschina.net/wower/blog/908691