From: jprocter Date: Fri, 12 Jan 2007 15:54:01 +0000 (+0000) Subject: log config (with SESSIONLOG config too). X-Git-Tag: Release_0.2~178 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=867888f8b8213c6a782815c0d87e7e5dcac4551e;p=vamsas.git log config (with SESSIONLOG config too). Need to separate SESSIONLOG in future. git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@342 be28352e-c001-0410-b1a7-c7978e42abec --- diff --git a/lib/log4j.properties b/lib/log4j.properties index 8b97493..2138a2d 100644 --- a/lib/log4j.properties +++ b/lib/log4j.properties @@ -5,7 +5,19 @@ log4j.rootCategory=INFO, CONSOLE #log4j.logger.uk.ac.vamsas.client.simple=DEBUG, CONSOLE #log4j.logger.jalview.io.VamsasDatastore=DEBUG, CONSOLE #log4j.logger.uk.ac.vamsas.client=DEBUG, CONSOLE -log4j.logger.uk.ac.vamsas.client.simpleclient=INFO, CONSOLE +#log4j.logger.uk.ac.vamsas.client.simpleclient=INFO +# Uncomment below to DEBUG until you bleed. +#log4j.logger.uk.ac.vamsas.client.simpleclient=DEBUG +#log4j.logger.uk.ac.vamsas.client.FileLock=INFO +#log4j.logger.uk.ac.vamsas.client.NativeLock=INFO +#log4j.logger.uk.ac.vamsas.client.Lock=INFO +log4j.logger.uk.ac.vamsas.client.simpleclient.ClientDocument=DEBUG +log4j.logger.uk.ac.vamsas.client.simpleclient.SimpleClient=DEBUG +log4j.logger.uk.ac.vamsas.client.simpleclient.EventGenerator=DEBUG +log4j.logger.uk.ac.vamsas.client.simpleclient.VamsasSession=DEBUG +log4j.logger.uk.ac.vamsas.client.simpleclient.SessionManager=DEBUG +#log4j.logger.uk.ac.vamsas.client.picking=DEBUG + #specifically turn off Lock debug messages if you want to see DEBUG level logging for simple package #log4j.logger.uk.ac.vamsas.client.simpleclient.Lock=INFO, CONSOLE @@ -16,7 +28,7 @@ log4j.logger.org.apache.axis.enterprise=FATAL, CONSOLE log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender log4j.appender.CONSOLE.Threshold=DEBUG log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout -log4j.appender.CONSOLE.layout.ConversionPattern=%l %c %x %m%n +log4j.appender.CONSOLE.layout.ConversionPattern=%-4r [%t] %l %x %m%n # LOGFILE is set to be a File appender using a PatternLayout. log4j.appender.LOGFILE=org.apache.log4j.FileAppender @@ -25,3 +37,16 @@ log4j.appender.LOGFILE.Append=true log4j.appender.LOGFILE.Threshold=INFO log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout log4j.appender.LOGFILE.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n + +# this configures session event logging in the .vamsas/sessiondir/log file +# slog stuff is not really informative as yet. +log4j.logger.uk.ac.vamsas.client.SessionLog=INFO, SESSIONLOG + +# SESSIONFILE is the session file for a vamsas session. +log4j.appender.SESSIONLOG=org.apache.log4j.FileAppender +log4j.appender.SESSIONLOG.File=SessionLog.log +log4j.appender.SESSIONLOG.Append=true +log4j.appender.SESSIONLOG.Threshold=INFO +log4j.appender.SESSIONLOG.layout=org.apache.log4j.PatternLayout +# need to optimise this a bit. +log4j.appender.SESSIONLOG.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n