Skip to content

Commit

Permalink
Merge pull request #2054 from ccellado/logging-maxhistory
Browse files Browse the repository at this point in the history
Change logging maxHistory to 1 week
  • Loading branch information
kushti authored Nov 16, 2023
2 parents f8dae70 + 6db159c commit 360ef88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/logback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
<!-- daily rollover -->
<fileNamePattern>ergo-%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>

<!-- keep 30 days' worth of history capped at 1GB total size -->
<maxHistory>30</maxHistory>
<!-- keep 7 days' worth of history capped at 1GB total size -->
<maxHistory>7</maxHistory>
<maxFileSize>500MB</maxFileSize>
<totalSizeCap>1GB</totalSizeCap>
</rollingPolicy>
Expand Down

0 comments on commit 360ef88

Please sign in to comment.