aboutsummaryrefslogtreecommitdiff
path: root/erecht.client.ss/data/conf/log4j.properties
diff options
context:
space:
mode:
authorgregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d>2007-02-28 13:17:57 +0000
committergregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d>2007-02-28 13:17:57 +0000
commit1c900609d64445040e8c5bdbfa01ae1a0f563f43 (patch)
tree732cceb74a72b1d638835e632a59dfc38f358198 /erecht.client.ss/data/conf/log4j.properties
parentc034f4156169801d44308e8e505bb9c7e0cc33fb (diff)
downloadmoa-id-spss-1c900609d64445040e8c5bdbfa01ae1a0f563f43.tar.gz
moa-id-spss-1c900609d64445040e8c5bdbfa01ae1a0f563f43.tar.bz2
moa-id-spss-1c900609d64445040e8c5bdbfa01ae1a0f563f43.zip
Initial commit
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@806 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'erecht.client.ss/data/conf/log4j.properties')
-rw-r--r--erecht.client.ss/data/conf/log4j.properties22
1 files changed, 22 insertions, 0 deletions
diff --git a/erecht.client.ss/data/conf/log4j.properties b/erecht.client.ss/data/conf/log4j.properties
new file mode 100644
index 000000000..7a5b44b1d
--- /dev/null
+++ b/erecht.client.ss/data/conf/log4j.properties
@@ -0,0 +1,22 @@
+#
+# Sample log4j configuration for the MOA-SS E-Recht Client web service
+#
+
+# Configure root logger and loggers for moa-spss
+log4j.rootLogger=info, stdout
+log4j.logger.erechtclient=debug, moasse
+
+# 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 'moasse' appender to write moa ss e-recht client related logging output
+# to the file 'logs/moa-ss-erecht-client.log'. The file is rolled over every 1000KB,
+# and a maximum history of 10 log files is being kept.
+log4j.appender.moasse=org.apache.log4j.RollingFileAppender
+log4j.appender.moasse.File=${catalina.base}/logs/moa-ss-erecht-client.log
+log4j.appender.moasse.MaxFileSize=1000KB
+log4j.appender.moasse.MaxBackupIndex=10
+log4j.appender.moasse.layout=org.apache.log4j.PatternLayout
+log4j.appender.moasse.layout.ConversionPattern=%5p | %d{dd HH:mm:ss,SSS} | %20c | %10t | %m%n