aboutsummaryrefslogtreecommitdiff
path: root/release-infos/handbook/clients/webservice/conf/log4j.properties
diff options
context:
space:
mode:
authortlenz <thomas.lenz@egiz.gv.at>2017-06-27 10:38:31 +0200
committertlenz <thomas.lenz@egiz.gv.at>2017-06-27 10:38:31 +0200
commitd69e3b6fb1dec68c0142eda193d1302f5a1ea383 (patch)
treefaa7d6422210f3320503ddf3d3b24152e049e80c /release-infos/handbook/clients/webservice/conf/log4j.properties
parent997b70350b176d8e01ede2653785346555b6aca0 (diff)
parent25f28669519773054184d6695114f38c5da4e177 (diff)
downloadmoa-sig-d69e3b6fb1dec68c0142eda193d1302f5a1ea383.tar.gz
moa-sig-d69e3b6fb1dec68c0142eda193d1302f5a1ea383.tar.bz2
moa-sig-d69e3b6fb1dec68c0142eda193d1302f5a1ea383.zip
lokal merge
Merge branch 'nightlybuild' of https://gitlab.iaik.tugraz.at/egiz/moa-sig into nightlybuild
Diffstat (limited to 'release-infos/handbook/clients/webservice/conf/log4j.properties')
-rw-r--r--release-infos/handbook/clients/webservice/conf/log4j.properties25
1 files changed, 25 insertions, 0 deletions
diff --git a/release-infos/handbook/clients/webservice/conf/log4j.properties b/release-infos/handbook/clients/webservice/conf/log4j.properties
new file mode 100644
index 0000000..346cc59
--- /dev/null
+++ b/release-infos/handbook/clients/webservice/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
+