生成日志文件的时候,运行报错
ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property ‘org.apache.logging.log4j.simplelog.StatusLogger.level’ to TRACE to show Log4j2 internal initialization logging.
解决方法:在src->main->resources内加log4j2.xml
运行java代码生成日志文件
最新推荐文章于 2022-11-04 11:42:19 发布