From: Sasha Sherstnev Date: Thu, 8 Aug 2013 13:25:13 +0000 (+0100) Subject: Add untracked dir X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=4e0e4c76c22d579f74ac46d214f8261dea595bf2;p=jabaws.git Add untracked dir --- diff --git a/WEB-INF/classes/log4j.properties b/WEB-INF/classes/log4j.properties new file mode 100644 index 0000000..cd2a406 --- /dev/null +++ b/WEB-INF/classes/log4j.properties @@ -0,0 +1,77 @@ + +## CHANGE THIS (The root directory where to store all the log files) +#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 +## Valid log levels are: +## TRACE - log everything from below including very detailed messages (useful for debugging only) +## DEBUG - log everything from below including some minor events (useful for debugging only) +## INFO - log everything from below including some information messages +## WARN - log error and warnings +## ERROR - log errors and fatal events only +## FATAL - log fatal events only + +# To see debug messages in TldLocationsCache, uncomment the following line: +#org.apache.jasper.compiler.TldLocationsCache.level = FINE +org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = FINE + +## Uncomment this if you would like the system to log messages into stdout +#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 +#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 +#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 + +################################################################################################################################## +# 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=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.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