[ 
https://issues.apache.org/jira/browse/NIFI-2962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16088805#comment-16088805
 ] 

Andre F de Miranda commented on NIFI-2962:
------------------------------------------

Just as a comment on this.

The logback config is quite explicit on this:


bq. The optional maxHistory property controls the maximum number of archive 
files to keep, asynchronously deleting older files. For example, if you specify 
monthly rollover, and set maxHistory to 6, then 6 months worth of archives 
files will be kept with files older than 6 months deleted. Note as old archived 
log files are removed, any folders which were created for the purpose of log 
file archiving will be removed as appropriate.

> Default conf/logback comment for maxHistory is misleading and incorrect
> -----------------------------------------------------------------------
>
>                 Key: NIFI-2962
>                 URL: https://issues.apache.org/jira/browse/NIFI-2962
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Tools and Build
>            Reporter: Joseph Witt
>            Assignee: Joseph Witt
>            Priority: Minor
>
> Joe Gresock in dev list note on Oct 27, 2016
> Ahh, that would explain it!  Maybe we can change the comment in logback.xml
> <https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/conf/logback.xml>
> above this element so it's more clear:
> <!-- keep 30 log files worth of history -->
> <maxHistory>30</maxHistory>



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to