log4j:WARN Please initialize the log4j system properly.

添加log4j.properties文件即可

log4j.rootLogger=WARN, stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - %m%n


 

你可能感兴趣的:(log4j:WARN Please initialize the log4j system properly.)