Skip to content

Commit

Permalink
set new default log size
Browse files Browse the repository at this point in the history
  • Loading branch information
litecreator committed May 7, 2021
1 parent da1f3cc commit d449745
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 @@ -21,10 +21,10 @@
class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
<!-- rollover daily -->
<fileNamePattern>./logs/litetokens-%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
<!-- each file should be at most 500MB, keep 30 days worth of history, but at most 50GB -->
<!-- each file should be at most 500MB, keep 30 days worth of history, but at most 1GB -->
<maxFileSize>500MB</maxFileSize>
<maxHistory>3</maxHistory>
<totalSizeCap>50GB</totalSizeCap>
<totalSizeCap>1GB</totalSizeCap>
</rollingPolicy>
<encoder>
<pattern>%d{HH:mm:ss.SSS} %-5level [%t] [%c{1}]\(%F:%L\) %m%n</pattern>
Expand Down

0 comments on commit d449745

Please sign in to comment.