在maven工程里面使用log4j报如下警告:
log4j:WARN No appenders could be found for logger (com.appium.framework.automation.util.TestLog).
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配置文件放在source目录下,会自动拷贝到class下。
最后
以上就是热心老鼠最近收集整理的关于log4j WARN No appenders could be found for logger解决方法的全部内容,更多相关log4j内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复