working on issue #294

This commit is contained in:
jstaerk
2023-09-18 11:24:46 +02:00
parent 2edcec3f94
commit 7f8024c891

View File

@@ -7,7 +7,8 @@
</encoder>
</appender>
<if condition='property("FILE_APPENDER_ENABLED").contains("true")'>
<then>
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- Daily rollover -->
@@ -21,10 +22,12 @@
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
</encoder>
</appender>
</then>
</if>
<!-- Configure so that it outputs to both console and log file -->
<root level="INFO">
<appender-ref ref="FILE" />
<appender-ref ref="STDERR" />
<appender-ref ref="FILE"/>
<appender-ref ref="STDERR"/>
</root>
</configuration>