1log4j.rootLogger=warn, console 2 3log4j.appender.console=org.apache.log4j.ConsoleAppender 4log4j.appender.console.Target=System.out 5log4j.appender.console.layout=org.apache.log4j.PatternLayout 6log4j.appender.console.layout.ConversionPattern=%p [%c{1}] - %m %n 7