From 02a15bc239db0bddec0967527f50d57f22bdaa16 Mon Sep 17 00:00:00 2001 From: gregor Date: Tue, 30 May 2006 20:17:12 +0000 Subject: Konfiguration verschoben nach /conf git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@708 d688527b-c9ab-4aba-bd8d-4036d912da1d --- spss.slinterface/conf/log4j/log4j.properties | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 spss.slinterface/conf/log4j/log4j.properties (limited to 'spss.slinterface/conf/log4j') diff --git a/spss.slinterface/conf/log4j/log4j.properties b/spss.slinterface/conf/log4j/log4j.properties new file mode 100644 index 000000000..5b485b0bb --- /dev/null +++ b/spss.slinterface/conf/log4j/log4j.properties @@ -0,0 +1,25 @@ +# +# Sample log4j configuration for the MOA-SL web service +# + +# commons-logging setup +org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.Log4jFactory + +# Configure root logger and loggers for moa-spss +log4j.rootLogger=info, stdout +log4j.logger.slinterface=info, moasl + +# Configure the 'stdout' appender to write logging output to the console +log4j.appender.stdout=org.apache.log4j.ConsoleAppender +log4j.appender.stdout.layout=org.apache.log4j.PatternLayout +log4j.appender.stdout.layout.ConversionPattern=%5p | %d{dd HH:mm:ss,SSS} | %20c | %10t | %m%n + +# Configure the 'moasl' appender to write moa-sl related logging output +# to the file 'logs/moa-sl.log'. The file is rolled over every 1000KB, +# and a maximum history of 10 log files is being kept. +log4j.appender.moasl=org.apache.log4j.RollingFileAppender +log4j.appender.moasl.File=logs/moa-sl.log +log4j.appender.moasl.MaxFileSize=1000KB +log4j.appender.moasl.MaxBackupIndex=10 +log4j.appender.moasl.layout=org.apache.log4j.PatternLayout +log4j.appender.moasl.layout.ConversionPattern=%5p | %d{dd HH:mm:ss,SSS} | %20c | %10t | %m%n -- cgit v1.2.3