aboutsummaryrefslogtreecommitdiff
path: root/id/server/doc/conf/moa-id/log4j.properties
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2014-04-10 14:23:14 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2014-04-10 14:23:14 +0200
commit42819b8b0bc4a99a0e9ff47ea9d4b3228bc0648f (patch)
tree842d5ecf5ee93aba2e87c4e0b8cef62c3f582ca6 /id/server/doc/conf/moa-id/log4j.properties
parent47615b97181da1c25881bdd4e9b61256476ce5b4 (diff)
downloadmoa-id-spss-42819b8b0bc4a99a0e9ff47ea9d4b3228bc0648f.tar.gz
moa-id-spss-42819b8b0bc4a99a0e9ff47ea9d4b3228bc0648f.tar.bz2
moa-id-spss-42819b8b0bc4a99a0e9ff47ea9d4b3228bc0648f.zip
update handbook and default configuration
Diffstat (limited to 'id/server/doc/conf/moa-id/log4j.properties')
-rw-r--r--id/server/doc/conf/moa-id/log4j.properties27
1 files changed, 27 insertions, 0 deletions
diff --git a/id/server/doc/conf/moa-id/log4j.properties b/id/server/doc/conf/moa-id/log4j.properties
new file mode 100644
index 000000000..310b58a3d
--- /dev/null
+++ b/id/server/doc/conf/moa-id/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
+log4j.logger.at.gv.egovernment.moa.spss=info
+log4j.logger.iaik.server=info
+log4j.logger.at.gv.egovernment.moa.id=info
+log4j.logger.at.gv.egovernment.moa.id.proxy=info
+log4j.logger.eu.stork=info
+log4j.logger.org.hibernate=warn
+
+# 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
+