diff options
author | gregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2006-05-30 20:17:12 +0000 |
---|---|---|
committer | gregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2006-05-30 20:17:12 +0000 |
commit | 02a15bc239db0bddec0967527f50d57f22bdaa16 (patch) | |
tree | f67a841b5d0a710f7d2e470a773e51fa89d1bfd3 /spss.slinterface/conf/log4j/log4j.properties | |
parent | 64c052c310ff1d23997efeb7f579d56e5ee13eec (diff) | |
download | moa-id-spss-02a15bc239db0bddec0967527f50d57f22bdaa16.tar.gz moa-id-spss-02a15bc239db0bddec0967527f50d57f22bdaa16.tar.bz2 moa-id-spss-02a15bc239db0bddec0967527f50d57f22bdaa16.zip |
Konfiguration verschoben nach /conf
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@708 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'spss.slinterface/conf/log4j/log4j.properties')
-rw-r--r-- | spss.slinterface/conf/log4j/log4j.properties | 25 |
1 files changed, 25 insertions, 0 deletions
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 |