PageRenderTime 14ms CodeModel.GetById 12ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/jcg-andygene-web-archetype/src/main/resources/archetype-resources/src/test/resources/log4j.properties

http://jcg-andygene-web.googlecode.com/
Properties File | 19 lines | 14 code | 2 blank | 3 comment | 0 complexity | c2a57b7d2cb3df8cdfe526502b7b419e MD5 | raw file
 1#set( $symbol_pound = '#' )
 2#set( $symbol_dollar = '$' )
 3#set( $symbol_escape = '\' )
 4${symbol_pound} Root logger option
 5log4j.rootLogger=INFO, file, stdout
 6 
 7${symbol_pound} Direct log messages to a log file
 8log4j.appender.file=org.apache.log4j.RollingFileAppender
 9log4j.appender.file.File=jcg.log
10log4j.appender.file.MaxFileSize=1MB
11log4j.appender.file.MaxBackupIndex=1
12log4j.appender.file.layout=org.apache.log4j.PatternLayout
13log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
14 
15${symbol_pound} Direct log messages to stdout
16log4j.appender.stdout=org.apache.log4j.ConsoleAppender
17log4j.appender.stdout.Target=System.out
18log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
19log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n