make changes in log configuration
authorSasha <Main-laptop2>
Fri, 14 Jun 2013 12:38:01 +0000 (13:38 +0100)
committerSasha <Main-laptop2>
Fri, 14 Jun 2013 12:38:01 +0000 (13:38 +0100)
runner/log4j.properties

index ba74052..b91ce68 100644 (file)
@@ -9,18 +9,16 @@
 # %d{ABSOLUTE} %5p %c{1}:%L -\r
 log4j.logger.compbio=TRACE, B\r
 log4j.appender.B=org.apache.log4j.FileAppender\r
-log4j.appender.B.File=engine.log\r
+log4j.appender.B.File=${catalina.base}/logs/engine.log\r
 log4j.appender.B.layout=org.apache.log4j.PatternLayout\r
-log4j.appender.B.layout.ConversionPattern=%m%n\r
-# %d{MM-dd@HH:mm:ss} %-5p (%13F:%L) %3x - \r
+log4j.appender.B.layout.ConversionPattern=%m%n %d{MM-dd@HH:mm:ss} %-5p (%13F:%L) %3x - \r
 \r
 # %d{ABSOLUTE} %5p %c{1}:%L -\r
 log4j.logger.compbio.engine.local.LocalExecutorService=INFO, C\r
 log4j.appender.C=org.apache.log4j.FileAppender\r
-log4j.appender.C.File=LocalExecutorService.log\r
+log4j.appender.C.File=${catalina.base}/logs/LocalExecutorService.log\r
 log4j.appender.C.layout=org.apache.log4j.PatternLayout\r
-log4j.appender.C.layout.ConversionPattern=%m%n\r
-# %d{MM-dd@HH:mm:ss} %-5p (%13F:%L) %3x - \r
+log4j.appender.C.layout.ConversionPattern=%m%n %d{MM-dd@HH:mm:ss} %-5p (%13F:%L) %3x - \r
 \r
 log4j.logger.RunnerLogger=ERROR, D\r
 log4j.appender.D=org.apache.log4j.ConsoleAppender \r