ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
10 回复
加了。
log4j.rootLogger=debug,Console
log4j.appender.Console=org.apache.log4j.ConsoleAppender
log4j.appender.Console.layout=org.apache.log4j.PatternLayout
log4j.appender.Console.layout.ConversionPattern=%d %l %-5p - %m%n
这是maven的
org.apache.logging.log4j
log4j-core
2.6
org.apache.logging.log4j
log4j-slf4j-impl
2.6
org.apache.logging.log4j
log4j-1.2-api
2.6
添加回复
请先登陆