From 7d55fdc5f23cb6ab392b869f5802b5b09b8749c5 Mon Sep 17 00:00:00 2001 From: Sasha Date: Wed, 24 Apr 2013 17:35:39 +0100 Subject: [PATCH] debug version of /log4j.properties --- conf/log4j.properties | 65 +++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 52 insertions(+), 13 deletions(-) diff --git a/conf/log4j.properties b/conf/log4j.properties index 94dd72d..f1567cc 100644 --- a/conf/log4j.properties +++ b/conf/log4j.properties @@ -1,6 +1,6 @@ ## CHANGE THIS (The root directory where to store all the log files) -logDir = . +#logDir = . ## Uncomment to enable JWS2 activity logging to standard out (to the console if available) ## for possible log levels please refer to Log4j documentation http://logging.apache.org/log4j/1.2/manual.html @@ -13,20 +13,22 @@ logDir = . ## FATAL - log fatal events only ## Uncomment this if you would like the system to log messages into stdout -log4j.rootLogger=ERROR, stdout -log4j.appender.stdout=org.apache.log4j.ConsoleAppender -log4j.appender.stdout.Target=System.out -log4j.appender.stdout.layout=org.apache.log4j.PatternLayout -log4j.appender.stdout.layout.ConversionPattern=%t %d %m%n +#log4j.rootLogger=TRACE, rootfile +#log4j.appender.rootfile=org.apache.log4j.RollingFileAppender +#log4j.appender.rootfile.File=JABAWSLogFilename.log +#log4j.appender.rootfile.Target=System.out +#log4j.appender.rootfile.layout=org.apache.log4j.PatternLayout +#log4j.appender.rootfile.layout.ConversionPattern=%t %d %m%n ## Uncomment to enable JWS2 activity logging to the file -log4j.logger.compbio=INFO, ACTIVITY -log4j.appender.ACTIVITY=org.apache.log4j.RollingFileAppender -log4j.appender.ACTIVITY.File=${logDir}/activity.log -log4j.appender.ACTIVITY.MaxFileSize=10MB -log4j.appender.ACTIVITY.MaxBackupIndex=10000 -log4j.appender.ACTIVITY.layout=org.apache.log4j.PatternLayout -log4j.appender.ACTIVITY.layout.ConversionPattern=%d{MM-dd@HH:mm:ss} %-5p %3x - %m%n +#log4j.logger.compbio=TRACE, ACTIVITY +#log4j.appender.ACTIVITY=org.apache.log4j.RollingFileAppender +################log4j.appender.ACTIVITY.File=${logDir}/activity.log +#log4j.appender.ACTIVITY.File=${catalina.base}/logs/JABAWSLogFilename.log +#log4j.appender.ACTIVITY.MaxFileSize=10MB +#log4j.appender.ACTIVITY.MaxBackupIndex=10000 +#log4j.appender.ACTIVITY.layout=org.apache.log4j.PatternLayout +#log4j.appender.ACTIVITY.layout.ConversionPattern=%d{MM-dd@HH:mm:ss} %-5p %3x - %m%n ## Uncomment for separate local engine execution log (debugging only) #log4j.logger.compbio.engine.local.LocalExecutorService=INFO, C @@ -34,3 +36,40 @@ log4j.appender.ACTIVITY.layout.ConversionPattern=%d{MM-dd@HH:mm:ss} %-5p %3x - % #log4j.appender.C.File=LocalExecutorService.log #log4j.appender.C.layout=org.apache.log4j.PatternLayout #log4j.appender.C.layout.ConversionPattern=%m%n + +################################################################################################################################## +# log4j.properties from runner/ + +#log4j.appender.stdout=org.apache.log4j.ConsoleAppender +#log4j.appender.stdout.Target=System.out +#log4j.appender.stdout.layout=org.apache.log4j.PatternLayout +#log4j.appender.stdout.layout.ConversionPattern=%m%n +#log4j.rootLogger=info, stdout + +log4j.rootLogger=TRACE, rootfile +log4j.appender.rootfile=org.apache.log4j.FileAppender +log4j.appender.rootfile.File=${catalina.base}/logs/JABAWSLogFilename.log1 +log4j.appender.rootfile.Target=System.out +log4j.appender.rootfile.layout=org.apache.log4j.PatternLayout +log4j.appender.rootfile.layout.ConversionPattern=%t %d %m%n + +# %d{ABSOLUTE} %5p %c{1}:%L - +log4j.logger.compbio=TRACE, B +log4j.appender.B=org.apache.log4j.FileAppender +#log4j.appender.B.File=engine.log +log4j.appender.B.File=${catalina.base}/logs/engine.log +log4j.appender.B.layout=org.apache.log4j.PatternLayout +log4j.appender.B.layout.ConversionPattern=%m%n %d{MM-dd@HH:mm:ss} %-5p (%13F:%L) %3x - + +# %d{ABSOLUTE} %5p %c{1}:%L - +#log4j.logger.compbio.engine.local.LocalExecutorService=INFO, C +#log4j.appender.C=org.apache.log4j.FileAppender +#log4j.appender.C.File=LocalExecutorService.log +#log4j.appender.C.layout=org.apache.log4j.PatternLayout +#log4j.appender.C.layout.ConversionPattern=%m%n +# %d{MM-dd@HH:mm:ss} %-5p (%13F:%L) %3x - + +#log4j.logger.RunnerLogger=ERROR, D +#log4j.appender.D=org.apache.log4j.ConsoleAppender +#log4j.appender.D.layout=org.apache.log4j.PatternLayout +#log4j.appender.D.layout.ConversionPattern=%r [%t] %p %c %x - %m%n -- 1.7.10.2