log4j:WARN Please initialize the log4j system properly._apache

 

log4j:WARN Please initialize the log4j system properly._apache_02

 

文件的名称为  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