mirror of https://github.com/apache/nifi.git
NIFI-12375 Removed maxFileSize from non-applicable policies in Logback
- Removed the non-applicable maxFileSize from TimeBasedRollingPolicy configurations in default logback.xml files to avoid warnings on shutdown Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com> This closes #8033.
This commit is contained in:
parent
9b6120187a
commit
76a27b0ad8
|
@ -54,8 +54,6 @@
|
|||
To ZIP rolled files, replace '.log' with '.log.zip'.
|
||||
-->
|
||||
<fileNamePattern>${org.apache.nifi.minifi.bootstrap.config.log.dir}/${org.apache.nifi.minifi.bootstrap.config.log.bootstrap.file.name}_%d.${org.apache.nifi.minifi.bootstrap.config.log.bootstrap.file.extension}.gz</fileNamePattern>
|
||||
<!-- Control the maximum size of each log file before rolling over -->
|
||||
<maxFileSize>10MB</maxFileSize>
|
||||
<!-- Control the maximum number of log archive files kept and asynchronously delete older files -->
|
||||
<maxHistory>10</maxHistory>
|
||||
<!-- Control the total size of all log archive files for this appender -->
|
||||
|
|
|
@ -56,8 +56,6 @@
|
|||
To ZIP rolled files, replace '.log' with '.log.zip'.
|
||||
-->
|
||||
<fileNamePattern>${org.apache.nifi.bootstrap.config.log.dir}/nifi-user_%d.log</fileNamePattern>
|
||||
<!-- Control the maximum size of each log file before rolling over -->
|
||||
<maxFileSize>100MB</maxFileSize>
|
||||
<!-- Control the maximum number of log archive files kept and asynchronously delete older files -->
|
||||
<maxHistory>30</maxHistory>
|
||||
<!-- Control the total size of all log archive files for this appender -->
|
||||
|
@ -74,8 +72,6 @@
|
|||
<file>${org.apache.nifi.bootstrap.config.log.dir}/nifi-request.log</file>
|
||||
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
||||
<fileNamePattern>${org.apache.nifi.bootstrap.config.log.dir}/nifi-request_%d.log</fileNamePattern>
|
||||
<!-- Control the maximum size of each log file before rolling over -->
|
||||
<maxFileSize>100MB</maxFileSize>
|
||||
<!-- Control the maximum number of log archive files kept and asynchronously delete older files -->
|
||||
<maxHistory>30</maxHistory>
|
||||
<!-- Control the total size of all log archive files for this appender -->
|
||||
|
@ -98,8 +94,6 @@
|
|||
To ZIP rolled files, replace '.log' with '.log.zip'.
|
||||
-->
|
||||
<fileNamePattern>${org.apache.nifi.bootstrap.config.log.dir}/nifi-bootstrap_%d.log</fileNamePattern>
|
||||
<!-- Control the maximum size of each log file before rolling over -->
|
||||
<maxFileSize>100MB</maxFileSize>
|
||||
<!-- Control the maximum number of log archive files kept and asynchronously delete older files -->
|
||||
<maxHistory>30</maxHistory>
|
||||
<!-- Control the total size of all log archive files for this appender -->
|
||||
|
|
|
@ -53,8 +53,6 @@
|
|||
To ZIP rolled files, replace '.log' with '.log.zip'.
|
||||
-->
|
||||
<fileNamePattern>${org.apache.nifi.registry.bootstrap.config.log.dir}/nifi-registry-bootstrap_%d.log</fileNamePattern>
|
||||
<!-- Control the maximum size of each log file before rolling over -->
|
||||
<maxFileSize>100MB</maxFileSize>
|
||||
<!-- Control the maximum number of log archive files kept and asynchronously delete older files -->
|
||||
<maxHistory>30</maxHistory>
|
||||
<!-- Control the total size of all log archive files for this appender -->
|
||||
|
@ -77,8 +75,6 @@
|
|||
To ZIP rolled files, replace '.log' with '.log.zip'.
|
||||
-->
|
||||
<fileNamePattern>${org.apache.nifi.registry.bootstrap.config.log.dir}/nifi-registry-event_%d.log</fileNamePattern>
|
||||
<!-- Control the maximum size of each log file before rolling over -->
|
||||
<maxFileSize>100MB</maxFileSize>
|
||||
<!-- Control the maximum number of log archive files kept and asynchronously delete older files -->
|
||||
<maxHistory>30</maxHistory>
|
||||
<!-- Control the total size of all log archive files for this appender -->
|
||||
|
|
Loading…
Reference in New Issue