[ https://issues.apache.org/jira/browse/NIFI-11788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Witt resolved NIFI-11788. ----------------------------- Fix Version/s: 2.0.0 Resolution: Fixed > 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 > Priority: Major > Fix For: 2.0.0 > > Time Spent: 3h 10m > Remaining Estimate: 0h > > 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)