From: jprocter Date: Tue, 24 Apr 2007 15:58:37 +0000 (+0000) Subject: fixed session log configuration X-Git-Tag: Release_0.2~144 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=5b2515bd18e7ed186aaba933582cde22d1bdd76b;p=vamsas.git fixed session log configuration git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@376 be28352e-c001-0410-b1a7-c7978e42abec --- diff --git a/resources/log4j.properties b/resources/log4j.properties index 3b41e89..a232449 100644 --- a/resources/log4j.properties +++ b/resources/log4j.properties @@ -1,16 +1,20 @@ # Set root category priority to INFO and its only appender to CONSOLE. log4j.rootCategory=INFO, CONSOLE #log4j.rootCategory=INFO, CONSOLE, LOGFILE -log4j.logger.org.vamsas=INFO +log4j.logger.uk.ac.vamsas=INFO, CONSOLE +log4j.logger.uk.ac.vamsas.client.picking.SocketManager=INFO, CONSOLE +log4j.logger.uk.ac.vamsas.client.picking=INFO, CONSOLE +log4j.logger.uk.ac.vamsas.Vobject=INFO, CONSOLE +#log4j.logger.uk.ac.vamsas.client.simpleclient=DEBUG +#log4j.logger.uk.ac.vamsas.client.simpleclient=DEBUG,CONSOLE # Set the enterprise logger category to FATAL and its only appender to CONSOLE. log4j.logger.org.apache.axis.enterprise=FATAL, CONSOLE - # CONSOLE is set to be a ConsoleAppender using a PatternLayout. log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender -#log4j.appender.CONSOLE.Threshold=INFO +log4j.appender.CONSOLE.Threshold=INFO log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout -log4j.appender.CONSOLE.layout.ConversionPattern=%t - %m%n +log4j.appender.CONSOLE.layout.ConversionPattern=%d{ABSOLUTE} %-4r %c %x - %m%n # LOGFILE is set to be a File appender using a PatternLayout. log4j.appender.LOGFILE=org.apache.log4j.FileAppender @@ -20,11 +24,13 @@ 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 +log4j.logger.uk.ac.vamsas.client.SessionLog=INFO, SESSIONLOG + # SESSIONFILE is the session file for a vamsas session. -log4j.appender.SESSION_LOG=org.apache.log4j.FileAppender -log4j.appender.SESSION_LOG.File=SessionLog.log -log4j.appender.SESSION_LOG.Append=true -log4j.appender.SESSION_LOG.Threshold=INFO -log4j.appender.SESSION_LOG.layout=org.apache.log4j.PatternLayout +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.SESSION_LOG.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n +log4j.appender.SESSIONLOG.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n