aboutsummaryrefslogtreecommitdiff
path: root/basicConfig/ms-connector
diff options
context:
space:
mode:
Diffstat (limited to 'basicConfig/ms-connector')
-rw-r--r--basicConfig/ms-connector/logback_config.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/basicConfig/ms-connector/logback_config.xml b/basicConfig/ms-connector/logback_config.xml
index a6a2738f..5f0b80f7 100644
--- a/basicConfig/ms-connector/logback_config.xml
+++ b/basicConfig/ms-connector/logback_config.xml
@@ -52,6 +52,21 @@
</triggeringPolicy>
</appender>
+ <appender name="statisticJson" class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <!--See also http://logback.qos.ch/manual/appenders.html#RollingFileAppender-->
+ <File>${catalina.base}/logs/eidas-ms-statistic-json.log</File>
+ <encoder>
+ <pattern>%m%n</pattern>
+ </encoder>
+ <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
+ <maxIndex>9999</maxIndex>
+ <FileNamePattern>${catalina.base}/logs/eidas-ms-statistic-json.log.%i</FileNamePattern>
+ </rollingPolicy>
+ <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
+ <MaxFileSize>10000KB</MaxFileSize>
+ </triggeringPolicy>
+ </appender>
+
<appender name="stdout" class="ch.qos.logback.core.rolling.RollingFileAppender">
<!--See also http://logback.qos.ch/manual/appenders.html#RollingFileAppender-->
<File>${catalina.base}/logs/console.log</File>
@@ -72,6 +87,9 @@
<logger name="at.asitplus.eidas.specific.core.logger.StatisticLogger" additivity="false" level="info">
<appender-ref ref="statistic"/>
</logger>
+ <logger name="at.asitplus.eidas.specific.core.logger.AdvancedStatisicLogger" additivity="false" level="info">
+ <appender-ref ref="statisticJson"/>
+ </logger>
<logger name="at.asitplus.eidas.specific.core.logger.RevisionLogger" level="info">
<appender-ref ref="reversion"/>
</logger>