Fix logging problem
authorSasha Sherstnev <a.sherstnev@dundee.ac.uk>
Thu, 5 Sep 2013 11:04:06 +0000 (12:04 +0100)
committerSasha Sherstnev <a.sherstnev@dundee.ac.uk>
Thu, 5 Sep 2013 11:04:06 +0000 (12:04 +0100)
log/log4j.properties

index 316f154..cd2a406 100644 (file)
 org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = FINE\r
 \r
 ## Uncomment this if you would like the system to log messages into stdout\r
-log4j.rootLogger=INFO, rootfile, stdout\r
-log4j.appender.rootfile=org.apache.log4j.RollingFileAppender\r
-log4j.appender.rootfile.File=JABAWSLogFilename.log\r
-log4j.appender.rootfile.layout=org.apache.log4j.PatternLayout\r
-log4j.appender.rootfile.layout.ConversionPattern=%-5p [%t]: %m%n\r
-\r
-log4j.appender.stdout=org.apache.log4j.ConsoleAppender\r
-log4j.appender.stdout.Target=System.out\r
-log4j.appender.stdout.layout=org.apache.log4j.PatternLayout\r
-log4j.appender.stdout.layout.ConversionPattern=%-5p [%t]  %-45C: %m%n\r
+#log4j.rootLogger=TRACE, rootfile\r
+#log4j.appender.rootfile=org.apache.log4j.RollingFileAppender\r
+#log4j.appender.rootfile.File=JABAWSLogFilename.log\r
+#log4j.appender.rootfile.Target=System.out\r
+#log4j.appender.rootfile.layout=org.apache.log4j.PatternLayout\r
+#log4j.appender.rootfile.layout.ConversionPattern=%t %d %m%n\r
 \r
 ## Uncomment to enable JWS2 activity logging to the file\r
 #log4j.logger.compbio=TRACE, ACTIVITY\r
@@ -54,18 +50,18 @@ log4j.appender.stdout.layout.ConversionPattern=%-5p [%t]  %-45C: %m%n
 #log4j.appender.stdout.layout.ConversionPattern=%m%n\r
 #log4j.rootLogger=info, stdout\r
 \r
-#log4j.rootLogger=ERROR, R\r
-#log4j.appender.R=org.apache.log4j.FileAppender\r
-#log4j.appender.R.File=${catalina.base}/logs/JABAWSErrorFile.log\r
-#log4j.appender.R.layout=org.apache.log4j.PatternLayout\r
-#log4j.appender.R.layout.ConversionPattern=%m%n %d{MM-dd@HH:mm:ss} %-5p (%13F:%L) %3x - \r
+log4j.rootLogger=ERROR, R\r
+log4j.appender.R=org.apache.log4j.FileAppender\r
+log4j.appender.R.File=${catalina.base}/logs/JABAWSErrorFile.log\r
+log4j.appender.R.layout=org.apache.log4j.PatternLayout\r
+log4j.appender.R.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=WARN, B\r
-#log4j.appender.B=org.apache.log4j.FileAppender\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 %d{MM-dd@HH:mm:ss} %-5p (%13F:%L) %3x - \r
+# %d{ABSOLUTE} %5p %c{1}:%L -\r
+log4j.logger.compbio=WARN, B\r
+log4j.appender.B=org.apache.log4j.FileAppender\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 %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