Skip to content

Commit 09ce964

Browse files
authored
Merge pull request #300 from IABTechLab/gdm-UID2-5079-logfmt
Added logfmt for log level, class and thread
2 parents b5d642d + c570766 commit 09ce964

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

conf/logback.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
<!-- encoders are assigned the type
44
ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
55
<encoder>
6-
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
6+
<pattern>%d{HH:mm:ss.SSS} thread=%thread level=%-5level class=%logger{36} - %msg %ex%n</pattern>
77
</encoder>
88
</appender>
99

1010
<root level="INFO">
1111
<appender-ref ref="STDOUT" />
1212
</root>
13-
</configuration>
13+
</configuration>

0 commit comments

Comments
 (0)