Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
Only preserve last 7 days of logs
Browse files Browse the repository at this point in the history
  • Loading branch information
bsura committed Dec 13, 2016
1 parent daa9ac4 commit 7d89651
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/resources/META-INF/logback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- Daily rollover -->
<fileNamePattern>${argus.logdir:-.}/logs/argus.%d{yyyy-MM-dd}.log</fileNamePattern>
<maxHistory>7</maxHistory>
</rollingPolicy>
<file>${argus.logdir:-.}/argus.log</file>
<append>true</append>
Expand Down

0 comments on commit 7d89651

Please sign in to comment.