aboutsummaryrefslogtreecommitdiff
path: root/basicConfig/ms-connector
diff options
context:
space:
mode:
authorThomas <>2023-12-12 19:40:39 +0100
committerThomas <>2023-12-12 19:40:39 +0100
commitf07291be6258084d02717652e3494d9ef43fb096 (patch)
tree91b4ad3c2252792b9c542f8515006b2c071b32bd /basicConfig/ms-connector
parent0b8b155730dce111dae81703ec8f12fa3c490c00 (diff)
downloadNational_eIDAS_Gateway-f07291be6258084d02717652e3494d9ef43fb096.tar.gz
National_eIDAS_Gateway-f07291be6258084d02717652e3494d9ef43fb096.tar.bz2
National_eIDAS_Gateway-f07291be6258084d02717652e3494d9ef43fb096.zip
doc(core): change default logger configuration to latest BM.I version
Diffstat (limited to 'basicConfig/ms-connector')
-rw-r--r--basicConfig/ms-connector/logback_config.xml19
1 files changed, 12 insertions, 7 deletions
diff --git a/basicConfig/ms-connector/logback_config.xml b/basicConfig/ms-connector/logback_config.xml
index 95bd40de..77cf302b 100644
--- a/basicConfig/ms-connector/logback_config.xml
+++ b/basicConfig/ms-connector/logback_config.xml
@@ -18,7 +18,8 @@
<pattern>%5p | %d{ISO8601} | %X{transactionId} | %t | %logger{16} | %m%n</pattern>
</encoder>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
- <fileNamePattern>${catalina.base}/logs/eidas-${appId:-common}.%d{yyyy-MM-dd}.log</fileNamePattern>
+ <maxHistory>30</maxHistory>
+ <fileNamePattern>${catalina.base}/logs/eidas-${appId:-common}.%d{yyyy-MM-dd}.log.gz</fileNamePattern>
</rollingPolicy>
</appender>
<appender name="reversion" class="ch.qos.logback.core.rolling.RollingFileAppender">
@@ -29,7 +30,8 @@
<pattern>%5p | %d{ISO8601} | %X{transactionId} | %t | %logger{16} | %m%n</pattern>
</encoder>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
- <fileNamePattern>${catalina.base}/logs/eidas-${appId:-common}-reversion.%d{yyyy-MM-dd}.log</fileNamePattern>
+ <maxHistory>30</maxHistory>
+ <fileNamePattern>${catalina.base}/logs/eidas-${appId:-common}-reversion.%d{yyyy-MM-dd}.log.gz</fileNamePattern>
</rollingPolicy>
</appender>
<appender name="statistic" class="ch.qos.logback.core.rolling.RollingFileAppender">
@@ -41,7 +43,8 @@
</encoder>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- fileNamePattern>${catalina.base}/logs/eidas-ms-statistic.%d{yyyy-MM-dd}.log</fileNamePattern-->
- <fileNamePattern>${catalina.base}/logs/eidas-${appId:-common}-statistic.%d{yyyy-MM-dd}.log</fileNamePattern>
+ <maxHistory>30</maxHistory>
+ <fileNamePattern>${catalina.base}/logs/eidas-${appId:-common}-statistic.%d{yyyy-MM-dd}.log.gz</fileNamePattern>
</rollingPolicy>
</appender>
<appender name="statisticJson-connector" class="ch.qos.logback.core.rolling.RollingFileAppender">
@@ -52,17 +55,19 @@
<pattern>%m%n</pattern>
</encoder>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
- <FileNamePattern>${catalina.base}/logs/eidas-connector-statistic-json.%d{yyyy-MM-dd}.log</FileNamePattern>
+ <maxHistory>30</maxHistory>
+ <FileNamePattern>${catalina.base}/logs/eidas-connector-statistic-json.%d{yyyy-MM-dd}.log.gz</FileNamePattern>
</rollingPolicy>
</appender>
<appender name="statisticJson-proxy" class="ch.qos.logback.core.rolling.RollingFileAppender">
<!--See also http://logback.qos.ch/manual/appenders.html#RollingFileAppender-->
- <!--<File>${catalina.base}/logs/eidas-proxy-statistic-json.log</File> -->
+ <!--<File>${catalina.base}/logs/eidas-proxyservice-statistic-json.log</File> -->
<encoder>
<pattern>%m%n</pattern>
</encoder>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
- <FileNamePattern>${catalina.base}/logs/eidas-proxy-statistic-json.%d{yyyy-MM-dd}.log</FileNamePattern>
+ <maxHistory>30</maxHistory>
+ <FileNamePattern>${catalina.base}/logs/eidas-proxyservice-statistic-json.%d{yyyy-MM-dd}.log.gz</FileNamePattern>
</rollingPolicy>
</appender>
<appender name="ignite" class="ch.qos.logback.core.rolling.RollingFileAppender">
@@ -71,7 +76,7 @@
<pattern>%5p | %date{ISO8601} | %t | %m%n</pattern>
</encoder>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
- <maxHistory>14</maxHistory>
+ <maxHistory>7</maxHistory>
<FileNamePattern>${catalina.base}/logs/ignite-${appId:-common}.%d{yyyy-MM-dd}.log.gz</FileNamePattern>
</rollingPolicy>
</appender>