Mike Thomsen created NIFI-11788:
-----------------------------------

             Summary: Make adjustments to logback.xml to nudge logback into 
more consistent cleanup behavior
                 Key: NIFI-11788
                 URL: https://issues.apache.org/jira/browse/NIFI-11788
             Project: Apache NiFi
          Issue Type: Improvement
    Affects Versions: 1.latest, 2.latest
            Reporter: Mike Thomsen
            Assignee: Mike Thomsen


A lot of users have been reporting problems with enforcing log rollover with 
logback. Disk overflow appears to be a common problem with this.

Based on what I have found, it appears that there are two flags that need to be 
set on the appenders as appropriate: totalSizeCap and cleanHistoryOnStart. 
After experimenting with these settings, I found that with them enabled on the 
APP appender, they enforce log cleanup.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to