Skip to content

Commit

Permalink
Partition logs by year/month
Browse files Browse the repository at this point in the history
  • Loading branch information
selesse committed Jan 1, 2024
1 parent 23ba7dd commit 6e53738
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/resources/logback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${logging_directory}/steam-crossplatform-sync.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>${logging_directory}/steam-crossplatform-sync.%d{yyyy-MM-dd}.log</fileNamePattern>
<fileNamePattern>${logging_directory}/%d{yyyy/MM, aux}/steam-crossplatform-sync.%d{yyyy-MM-dd}.log</fileNamePattern>
</rollingPolicy>
<append>true</append>
<immediateFlush>true</immediateFlush>
Expand Down

0 comments on commit 6e53738

Please sign in to comment.