From d74a3a882eabca2dfcddef3f2efcd2070866fb4c Mon Sep 17 00:00:00 2001 From: Sasha Sherstnev Date: Thu, 5 Sep 2013 12:04:06 +0100 Subject: [PATCH] Fix logging problem --- log/log4j.properties | 38 +++++++++++++++++--------------------- 1 file changed, 17 insertions(+), 21 deletions(-) diff --git a/log/log4j.properties b/log/log4j.properties index 316f154..cd2a406 100644 --- a/log/log4j.properties +++ b/log/log4j.properties @@ -17,16 +17,12 @@ org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = FINE ## Uncomment this if you would like the system to log messages into stdout -log4j.rootLogger=INFO, rootfile, stdout -log4j.appender.rootfile=org.apache.log4j.RollingFileAppender -log4j.appender.rootfile.File=JABAWSLogFilename.log -log4j.appender.rootfile.layout=org.apache.log4j.PatternLayout -log4j.appender.rootfile.layout.ConversionPattern=%-5p [%t]: %m%n - -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=%-5p [%t] %-45C: %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=TRACE, ACTIVITY @@ -54,18 +50,18 @@ log4j.appender.stdout.layout.ConversionPattern=%-5p [%t] %-45C: %m%n #log4j.appender.stdout.layout.ConversionPattern=%m%n #log4j.rootLogger=info, stdout -#log4j.rootLogger=ERROR, R -#log4j.appender.R=org.apache.log4j.FileAppender -#log4j.appender.R.File=${catalina.base}/logs/JABAWSErrorFile.log -#log4j.appender.R.layout=org.apache.log4j.PatternLayout -#log4j.appender.R.layout.ConversionPattern=%m%n %d{MM-dd@HH:mm:ss} %-5p (%13F:%L) %3x - +log4j.rootLogger=ERROR, R +log4j.appender.R=org.apache.log4j.FileAppender +log4j.appender.R.File=${catalina.base}/logs/JABAWSErrorFile.log +log4j.appender.R.layout=org.apache.log4j.PatternLayout +log4j.appender.R.layout.ConversionPattern=%m%n %d{MM-dd@HH:mm:ss} %-5p (%13F:%L) %3x - -## %d{ABSOLUTE} %5p %c{1}:%L - -#log4j.logger.compbio=WARN, B -#log4j.appender.B=org.apache.log4j.FileAppender -#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=WARN, B +log4j.appender.B=org.apache.log4j.FileAppender +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 -- 1.7.10.2