#log4j.rootLogger=Debug,consolelog4j.rootLogger=info,console#控制台輸出 log4j.appender.console=org.apache.log4j.ConsoleAppenderlog4j.appender.console.layou ...
#log4j.rootLogger=Debug,console
log4j.rootLogger=info,console
#控制台輸出
log4j.appender.console=org.apache.log4j.ConsoleAppender
log4j.appender.console.layout=org.apache.log4j.PatternLayout
log4j.appender.console.layout.ConversionPattern=%d %p [%c] - %m%n