From 4f11373ddecd53546b3b22e0358f3df01b24a6e6 Mon Sep 17 00:00:00 2001 From: jprocter Date: Fri, 1 Sep 2006 17:01:10 +0000 Subject: [PATCH] added some example logging configs git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@233 be28352e-c001-0410-b1a7-c7978e42abec --- lib/log4j.properties | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/lib/log4j.properties b/lib/log4j.properties index d6d0650..f602164 100644 --- a/lib/log4j.properties +++ b/lib/log4j.properties @@ -1,15 +1,20 @@ # Set root category priority to INFO and its only appender to CONSOLE. log4j.rootCategory=INFO, CONSOLE +#log4j.rootCategory=DEBUG, CONSOLE #log4j.rootCategory=INFO, CONSOLE, LOGFILE -log4j.logger.org.vamsas=INFO, CONSOLE +#log4j.logger.org.vamsas.client.simple=DEBUG, CONSOLE +log4j.logger.org.vamsas.client.simple=INFO, CONSOLE +#specifically turn off Lock debug messages if you want to see DEBUG level logging for simple package +#log4j.logger.org.vamsas.client.simpleclient.Lock=INFO, 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=DEBUG log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout -log4j.appender.CONSOLE.layout.ConversionPattern=- %m%n +log4j.appender.CONSOLE.layout.ConversionPattern=%l %c %x %m%n # LOGFILE is set to be a File appender using a PatternLayout. log4j.appender.LOGFILE=org.apache.log4j.FileAppender -- 1.7.10.2