exceptionfactory commented on code in PR #7465:
URL: https://github.com/apache/nifi/pull/7465#discussion_r1389649425
##########
minifi/minifi-nar-bundles/minifi-framework-bundle/minifi-framework/minifi-resources/src/main/resources/conf/logback.xml:
##########
@@ -29,12 +29,14 @@
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.app.file.name}_%d{yyyy-MM-dd_HH}.%i.${org.apache.nifi.minifi.bootstrap.config.log.app.file.extension}.gz</fileNamePattern>
- <!-- Keep 10 rolling periods worth of log files-->
- <maxHistory>10</maxHistory>
- <!-- Max size each log file will be-->
+ <!-- Control the maximum size of each log file before rolling over
-->
<maxFileSize>1MB</maxFileSize>
- <!-- Provide a cap of 10 MB across all archive files -->
+ <!-- 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 -->
<totalSizeCap>10MB</totalSizeCap>
+ <!-- Log files exceeding maximum settings will be rolled on
startup -->
+ <cleanHistoryOnStart>true</cleanHistoryOnStart>
Review Comment:
Thanks @pvillard31, I was also thinking those defaults were on the small
side. I pushed a change for this MiNiFi configuration to use `maxFileSize` of
10MB and `totalSizeCap` of 100MB.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]