1 pjaol 1.1 log4j.rootLogger=debug, stdout, R
2
3 log4j.appender.stdout=org.apache.log4j.ConsoleAppender
4 log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
5
6 # Pattern to output the caller's file name and line number.
7 log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n
8
9 log4j.appender.R=org.apache.log4j.RollingFileAppender
10 log4j.appender.R.File=example.log
11
12 log4j.appender.R.MaxFileSize=100KB
13 # Keep one backup file
14 log4j.appender.R.MaxBackupIndex=1
15
16 log4j.appender.R.layout=org.apache.log4j.PatternLayout
17 log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n
|