Skip to content

Commit

Permalink
Issue #5996 - Restoring accidentally deleted configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
  • Loading branch information
joakime committed Feb 23, 2021
1 parent be8e679 commit 9608f2c
Showing 1 changed file with 17 additions and 0 deletions.
@@ -0,0 +1,17 @@
<configuration>
<!-- always a good activate OnConsoleStatusListener -->
<statusListener class="ch.qos.logback.core.status.OnConsoleStatusListener" />

<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>logs/access.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>logs/access.%d{yyyy-MM-dd}.log.zip</fileNamePattern>
</rollingPolicy>
<encoder>
<pattern>combined</pattern>
</encoder>
</appender>

<appender-ref ref="FILE" />
</configuration>

0 comments on commit 9608f2c

Please sign in to comment.