log4j:warn找不到
If you are reading this, you must be using log4j framework and got below error message.
如果您正在阅读本文,则必须使用log4j框架并收到以下错误消息。
log4j:WARN No appenders could be found for logger
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See https://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Log4j warning for no appenders will come to console for standalone applications and in server logs for web applications running into some servlet container such as Tomcat or JBoss.
对于独立应用程序,控制台将出现Log4j警告,没有附加程序将出现在控制台中;对于运行到某些servlet容器(例如Tomcat或JBoss)中的Web应用程序,将在服务器日志中显示Log4j警告 。