Skip to content

Commit

Permalink
Limit storage of logs (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
chinmoy12c authored Aug 7, 2024
1 parent b9aed57 commit d48456d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/resources/logback-spring.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
<!-- rollover daily and when the file reaches 10 MegaBytes -->
<fileNamePattern>${LOGS}/archived/spring-boot-logger-%d{yyyy-MM-dd}.%i.log
</fileNamePattern>
<maxHistory>2</maxHistory>
<totalSizeCap>5GB</totalSizeCap>
<timeBasedFileNamingAndTriggeringPolicy
class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<maxFileSize>10MB</maxFileSize>
Expand Down

0 comments on commit d48456d

Please sign in to comment.