C/C++教程

日志报错 log4j:WARN No appenders could be found for logge

本文主要是介绍日志报错 log4j:WARN No appenders could be found for logge,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

报错信息:

log4j:WARN No appenders could be found for logger (org.example.MetastoreTestConcurrent).
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需要放在被标记过的资源文件夹下面

image

这篇关于日志报错 log4j:WARN No appenders could be found for logge的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!