Commit e83bae7f authored by Günter Hipler's avatar Günter Hipler
Browse files

changed logback

parent fb27d3f4
Pipeline #23554 passed with stage
in 4 minutes and 36 seconds
......@@ -3,15 +3,15 @@
<conversionRule conversionWord="coloredLevel" converterClass="play.api.libs.logback.ColoredLevel" />
<appender name="FILE" class="ch.qos.logback.core.FileAppender">
<file>${application.home:-.}/logs/application.log</file>
<appender name="FILE" class="ch.qos.logback.core.ConsoleAppender">
<!--<file>${application.home:-.}/logs/application.log</file>-->
<encoder>
<pattern>%date [%level] from %logger in %thread - %message%n%xException</pattern>
</encoder>
</appender>
<appender name="JSON" class="ch.qos.logback.core.FileAppender">
<file>${application.home:-.}/logs/application.json</file>
<appender name="JSON" class="ch.qos.logback.core.ConsoleAppender">
<!--<file>${application.home:-.}/logs/application.json</file>-->
<encoder class="net.logstash.logback.encoder.LoggingEventCompositeJsonEncoder">
<providers>
<timestamp/>
......@@ -26,8 +26,8 @@
</encoder>
</appender>
<appender name="METRICS" class="ch.qos.logback.core.FileAppender">
<file>${application.home:-.}/logs/metrics.log</file>
<appender name="METRICS" class="ch.qos.logback.core.ConsoleAppender">
<!--<file>${application.home:-.}/logs/metrics.log</file>-->
<encoder>
<pattern>%date [%level] from %logger in %thread - %message%n%xException</pattern>
</encoder>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment