java.util.logging.Logger.getLogger("org.apache.http.wire").setLevel(java.util.logging.Level.OFF);
logback的日志级别
ch.qos.logback.classic.LoggerContext loggerContext = (LoggerContext) org.slf4j.LoggerFactory.getILoggerFactory();
loggerContext.getLogger("org.apache.http").setLevel(ch.qos.logback.classic.Level.OFF);


已日志前缀作参数
如02:46:48.082 [Finalizer] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection manager is shutting down
java.util.logging.Logger.getLogger("org.apache.http.impl.conn").setLevel(Level.OFF);