From a6ba38b8ccd40e724733c3d1da6151f119953f07 Mon Sep 17 00:00:00 2001 From: jprocter Date: Fri, 13 Jan 2006 18:14:40 +0000 Subject: [PATCH] git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@127 be28352e-c001-0410-b1a7-c7978e42abec --- resources/log4j.properties | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 resources/log4j.properties diff --git a/resources/log4j.properties b/resources/log4j.properties new file mode 100644 index 0000000..d6d0650 --- /dev/null +++ b/resources/log4j.properties @@ -0,0 +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, 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.layout=org.apache.log4j.PatternLayout +log4j.appender.CONSOLE.layout.ConversionPattern=- %m%n + +# LOGFILE is set to be a File appender using a PatternLayout. +log4j.appender.LOGFILE=org.apache.log4j.FileAppender +log4j.appender.LOGFILE.File=axis.log +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 -- 1.7.10.2