log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
答案 0 :(得分:0)
此日志消息...
log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
...暗示以下内容:
log4j.properties
文件已创建。与您当前的 Java 程序/文件一样,您尚未正确初始化/处理 log4j 配置,因此您会看到这些警告。 / p>
这些 WARN 消息是无害的,不会影响您的测试,您可以接受。