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.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>