forked from ISTI-ansible-roles/ansible-roles
Fix the logback template when we use the SizeAndTimeBasedRollingPolicy, see https://support.d4science.org/issues/9576
This commit is contained in:
parent
84fe5ff968
commit
e9e8fa5c7c
|
@ -7,7 +7,7 @@
|
|||
</encoder>
|
||||
{% if smartgears_log_use_timesize_appender %}
|
||||
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
||||
<fileNamePattern>{{ smartgears_log_dir }}/ghn.%d{yyyy-MM-dd}.log</fileNamePattern>
|
||||
<fileNamePattern>{{ smartgears_log_dir }}/ghn.%d{yyyy-MM-dd}.%i.log</fileNamePattern>
|
||||
<maxHistory>{{ smartgears_log_max_history }}</maxHistory>
|
||||
<maxFileSize>{{ smartgears_log_max_file_size }}</maxFileSize>
|
||||
<totalSizeCap>{{ smartgears_log_total_file_cap }}</totalSizeCap>
|
||||
|
@ -28,7 +28,7 @@
|
|||
</encoder>
|
||||
{% if smartgears_log_use_timesize_appender %}
|
||||
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
||||
<fileNamePattern>{{ smartgears_log_dir }}/accounting.%d{yyyy-MM-dd}.log</fileNamePattern>
|
||||
<fileNamePattern>{{ smartgears_log_dir }}/accounting.%d{yyyy-MM-dd}.%i.log</fileNamePattern>
|
||||
<maxHistory>{{ smartgears_log_max_history }}</maxHistory>
|
||||
<maxFileSize>{{ smartgears_log_max_file_size }}</maxFileSize>
|
||||
<totalSizeCap>{{ smartgears_log_total_file_cap }}</totalSizeCap>
|
||||
|
@ -49,7 +49,7 @@
|
|||
</encoder>
|
||||
{% if smartgears_log_use_timesize_appender %}
|
||||
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
||||
<fileNamePattern>{{ smartgears_log_dir }}/access.%d{yyyy-MM-dd}.log</fileNamePattern>
|
||||
<fileNamePattern>{{ smartgears_log_dir }}/access.%d{yyyy-MM-dd}.%i.log</fileNamePattern>
|
||||
<maxHistory>{{ smartgears_log_max_history }}</maxHistory>
|
||||
<maxFileSize>{{ smartgears_log_max_file_size }}</maxFileSize>
|
||||
<totalSizeCap>{{ smartgears_log_total_file_cap }}</totalSizeCap>
|
||||
|
@ -71,7 +71,7 @@
|
|||
</encoder>
|
||||
{% if smartgears_log_use_timesize_appender %}
|
||||
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
||||
<fileNamePattern>{{ smartgears_log_dir }}/analysis.%d{yyyy-MM-dd}.log</fileNamePattern>
|
||||
<fileNamePattern>{{ smartgears_log_dir }}/analysis.%d{yyyy-MM-dd}.%i.log</fileNamePattern>
|
||||
<maxHistory>{{ smartgears_log_max_history }}</maxHistory>
|
||||
<maxFileSize>{{ smartgears_log_max_file_size }}</maxFileSize>
|
||||
<totalSizeCap>{{ smartgears_log_total_file_cap }}</totalSizeCap>
|
||||
|
|
Loading…
Reference in New Issue