Gianpaolo Coro 2013-11-19 11:33:15 +00:00
parent 7adb33b2ca
commit f237a63ba7
1 changed files with 9 additions and 1 deletions

View File

@ -1,5 +1,6 @@
#### Use two appenders, one to log to console, another to log to a file
log4j.rootCategory= R
log4j.rootCategory= R
#,GEO, stdout
#### Second appender writes to a file
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
@ -23,3 +24,10 @@ log4j.appender.H.Threshold=OFF
log4j.appender.H.layout=org.apache.log4j.PatternLayout
log4j.appender.H.layout.ConversionPattern=%d{dd/MM/yyyy HH:mm:ss} %p %t %c - %m%n
log4j.appender.GEO=org.apache.log4j.RollingFileAppender
log4j.appender.GEO.file=./Analysis.log
log4j.appender.GEO.MaxFileSize=10000KB
log4j.appender.GEO.MaxBackupIndex=10
log4j.appender.GEO.layout=org.apache.log4j.PatternLayout
log4j.appender.GEO.layout.ConversionPattern=%d{ISO8601} %-5p %c{2} [%t,%M:%L] %m%n
log4j.appender.GEO.threshold=TRACE