aboutsummaryrefslogtreecommitdiff
path: root/id/server/auth-final/src/main/resources/log4j.properties
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2016-03-09 12:14:18 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2016-03-09 12:14:18 +0100
commitd60ceb70869148deb9f85751c63460fa245a8c7f (patch)
tree9d81d11d69d40d614cb3c189f3f5e5e38c6e2d6e /id/server/auth-final/src/main/resources/log4j.properties
parent04a8a85a7092f460e30553394ae415ad9bed18ed (diff)
downloadmoa-id-spss-d60ceb70869148deb9f85751c63460fa245a8c7f.tar.gz
moa-id-spss-d60ceb70869148deb9f85751c63460fa245a8c7f.tar.bz2
moa-id-spss-d60ceb70869148deb9f85751c63460fa245a8c7f.zip
split moa-id-auth in a final- and an edjucation- version
Diffstat (limited to 'id/server/auth-final/src/main/resources/log4j.properties')
-rw-r--r--id/server/auth-final/src/main/resources/log4j.properties27
1 files changed, 27 insertions, 0 deletions
diff --git a/id/server/auth-final/src/main/resources/log4j.properties b/id/server/auth-final/src/main/resources/log4j.properties
new file mode 100644
index 000000000..ecdfad165
--- /dev/null
+++ b/id/server/auth-final/src/main/resources/log4j.properties
@@ -0,0 +1,27 @@
+# commons-logging setup
+org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.Log4jFactory
+
+# define log4j root loggers
+log4j.rootLogger=info, stdout, R
+log4j.logger.at.gv.egovernment.moa=info, R
+log4j.logger.at.gv.egovernment.moa.spss=info, R
+log4j.logger.iaik.server=info, R
+log4j.logger.at.gv.egovernment.moa.id=info, R
+log4j.logger.at.gv.egovernment.moa.id.proxy=info, R
+log4j.logger.eu.stork=info, R
+log4j.logger.org.hibernate=warn, R
+
+# 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} | %20c | %10t | %m%n
+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
+