Skip to content

Commit

Permalink
#207 Fix startup error
Browse files Browse the repository at this point in the history
This updates the logback configuration from the legacy to the recommended format.
  • Loading branch information
jelemux committed Mar 30, 2023
1 parent 3956136 commit d844f47
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions resources/app/logback.xml.tpl
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE configuration>

<configuration>
<import class="ch.qos.logback.classic.encoder.PatternLayoutEncoder"/>
<import class="ch.qos.logback.core.ConsoleAppender"/>

<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<!-- encoders are by default assigned the type
ch.qos.logback.classic.encoder.PatternLayoutEncoder -->
<encoder>
<appender name="STDOUT" class="ConsoleAppender">
<encoder class="PatternLayoutEncoder">
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger - %msg%n</pattern>
</encoder>
</appender>
Expand All @@ -16,4 +17,4 @@
<appender-ref ref="STDOUT" />
</root>

</configuration>
</configuration>

0 comments on commit d844f47

Please sign in to comment.