The DailyRollingFileAppender does not request and write its Layout's getFooter() when rolling over.
Same is true of RollingFileAppender; therefore changed summary.
Marking as duplicate of 34651. All header and footer enhancements should be considered together and likely only in org.apache.log4j.rolling.RFA and not in the earlier org.apache.log4j.RFA and DRFA. *** This bug has been marked as a duplicate of bug 34651 ***