<div dir="ltr">Have been using logback since 2019. <div>Logback.xml is dated 2019 as last change.<br>One of our apps now has a lot more traffic. For some reason, this is causing the rollover to not happen at/around midnight.  It creates the daily .gz file and names it appropriately, but keeps appending to the same file.  </div><div><br></div><div>On Day 1, the unzipped log file is 50 MB. By the end of the second day, it has become 112MB.</div><div>Everynight or early the next morning, it creates a new gz file but does not truncate the existing file.</div><div><br></div><div>By Day 7, the unzipped file is now over 500MB and the zip fails everynight.<br>Still no truncation.<br><br>So, the change is that now this application is getting a lot of hits.  Why won't the file truncate, and zip at the end of the day?  No changes to the logback.xml. <br>I can try to use the limit file size option, but the multiple files created will potentially break our log analyzer.</div><div>The only way to truncate the file is to stop and start Tomcat, which we are reluctant to do.<br><br>What should I do to fix this?<br><br>THanks,<br>Trent</div></div>