-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathlogback.xml
More file actions
21 lines (21 loc) · 951 Bytes
/
logback.xml
File metadata and controls
21 lines (21 loc) · 951 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<configuration>
<appender name="stdout" class="ch.qos.logback.core.ConsoleAppender">
<encoder class="ch.qos.logback.core.encoder.LayoutWrappingEncoder">
<layout class="ch.qos.logback.contrib.json.classic.JsonLayout">
<timestampFormat>yyyy-MM-dd'T'HH:mm:ss.SSSX</timestampFormat>
<timestampFormatTimezoneId>Etc/UTC</timestampFormatTimezoneId>
<appendLineSeparator>true</appendLineSeparator>
<includeMDC>true</includeMDC>
<jsonFormatter class="ch.qos.logback.contrib.jackson.JacksonJsonFormatter">
<prettyPrint>false</prettyPrint>
</jsonFormatter>
</layout>
</encoder>
</appender>
<logger name="fi.hsl.common" level="info" additivity="false">
<appender-ref ref="stdout" />
</logger>
<root level="info">
<appender-ref ref="stdout" />
</root>
</configuration>