aboutsummaryrefslogtreecommitdiff
path: root/id/server/data/deploy/conf/moa-id-oa
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2021-12-20 08:16:01 +0100
committerThomas Lenz <thomas.lenz@egiz.gv.at>2021-12-20 08:16:01 +0100
commit7f39aaa3d8633e9f05d2570c756e5e1fcac9b017 (patch)
tree044917e894ebb54763301abae91de1f24f9d1069 /id/server/data/deploy/conf/moa-id-oa
parent43752e9eb9bdba0703bacd48dfdbba5190aec7b3 (diff)
downloadmoa-id-spss-7f39aaa3d8633e9f05d2570c756e5e1fcac9b017.tar.gz
moa-id-spss-7f39aaa3d8633e9f05d2570c756e5e1fcac9b017.tar.bz2
moa-id-spss-7f39aaa3d8633e9f05d2570c756e5e1fcac9b017.zip
switch from log4j to logback
Diffstat (limited to 'id/server/data/deploy/conf/moa-id-oa')
-rw-r--r--id/server/data/deploy/conf/moa-id-oa/logback.xml30
1 files changed, 30 insertions, 0 deletions
diff --git a/id/server/data/deploy/conf/moa-id-oa/logback.xml b/id/server/data/deploy/conf/moa-id-oa/logback.xml
new file mode 100644
index 000000000..b94b7476a
--- /dev/null
+++ b/id/server/data/deploy/conf/moa-id-oa/logback.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<configuration>
+ <appender name="DEMO_SP" class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <!--See also http://logback.qos.ch/manual/appenders.html#RollingFileAppender-->
+ <File>${catalina.base}/logs/moa-demo-sp.log</File>
+ <encoder>
+ <pattern>%5p | %d{dd HH:mm:ss,SSS} | %X{sessionId} | %X{transactionId} | %X{oaId} | %t | %m%n</pattern>
+ </encoder>
+ <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
+ <maxIndex>1</maxIndex>
+ <FileNamePattern>${catalina.base}/logs/moa-demo-sp.%i.gz</FileNamePattern>
+ </rollingPolicy>
+ <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTrimoa-demo-spggeringPolicy">
+ <MaxFileSize>10000KB</MaxFileSize>
+ </triggeringPolicy>
+ </appender>
+ <appender name="stdout" class="ch.qos.logback.core.ConsoleAppender">
+ <encoder>
+ <pattern>%5p | %d{dd HH:mm:ss,SSS} | %X{sessionId} | %X{transactionId} | %X{oaId} |%20.20c | %10t | %m%n</pattern>
+ </encoder>
+ </appender>
+
+ <logger name="at.gv.egovernment.moa.id.demoOA" level="info">
+ <appender-ref ref="DEMO_SP"/>
+ </logger>
+
+ <root level="warn">
+ <appender-ref ref="stdout"/>
+ </root>
+</configuration>