将rootlogger提升为info是不可接受的,因为我在调试级别有其他包.
log4j.logger.org.apache.httpclient=DEBUG,logfile@H_403_10@ 将org.apache.httpclient记录器输出定向到logfile appender. 还包括该行 log4j.additivity.org.apache.httpclient=false@H_403_10@ 防止org.apache.httpclient记录器输出转到rootLogger的appender.
将org.apache.httpclient记录器输出定向到logfile appender.
还包括该行
log4j.additivity.org.apache.httpclient=false@H_403_10@ 防止org.apache.httpclient记录器输出转到rootLogger的appender.
防止org.apache.httpclient记录器输出转到rootLogger的appender.