aboutsummaryrefslogtreecommitdiff
path: root/spss/handbook/clients/webservice/bin/conf/log4j.properties
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2014-05-20 16:18:21 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2014-05-20 16:18:21 +0200
commite147bdb7da8e48c1483c7732a0eb6b6f54699b66 (patch)
tree2ae0c9764f69394df4d159b9c59c34d82bd3fe1f /spss/handbook/clients/webservice/bin/conf/log4j.properties
parent4c2e09ce5137642dca0b79be60ccc37fa8ac5dc3 (diff)
downloadmoa-id-spss-e147bdb7da8e48c1483c7732a0eb6b6f54699b66.tar.gz
moa-id-spss-e147bdb7da8e48c1483c7732a0eb6b6f54699b66.tar.bz2
moa-id-spss-e147bdb7da8e48c1483c7732a0eb6b6f54699b66.zip
update version management
Diffstat (limited to 'spss/handbook/clients/webservice/bin/conf/log4j.properties')
-rw-r--r--spss/handbook/clients/webservice/bin/conf/log4j.properties25
1 files changed, 25 insertions, 0 deletions
diff --git a/spss/handbook/clients/webservice/bin/conf/log4j.properties b/spss/handbook/clients/webservice/bin/conf/log4j.properties
new file mode 100644
index 000000000..346cc59f4
--- /dev/null
+++ b/spss/handbook/clients/webservice/bin/conf/log4j.properties
@@ -0,0 +1,25 @@
+# commons-logging setup
+org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.Log4jFactory
+
+# define log4j root loggers
+log4j.rootLogger=info, stdout
+#log4j.rootLogger=info, stdout, R
+#log4j.logger.moa=info
+#log4j.logger.moa.spss.server=debug
+#log4j.logger.iaik.server=info
+#log4j.logger.moa.id.auth=debug
+#log4j.logger.moa.id.proxy=debug
+
+# configure the stdout appender
+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} | %20.20c | %10t | %m%n
+
+# configure the rolling file appender (R)
+log4j.appender.R=org.apache.log4j.RollingFileAppender
+log4j.appender.R.File=${catalina.base}/logs/moa-id.log
+log4j.appender.R.MaxFileSize=10000KB
+log4j.appender.R.MaxBackupIndex=1
+log4j.appender.R.layout=org.apache.log4j.PatternLayout
+log4j.appender.R.layout.ConversionPattern=%5p | %d{dd HH:mm:ss,SSS} | %t | %m%n
+