Skip to content

Commit e897c3d

Browse files
authored
Merge pull request #171 from IABTechLab/gdm-UID2-5079-logfmt
Added logfmt for log level, class and thread
2 parents a4e314f + 187297e commit e897c3d

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="debug">
1111
<appender-ref ref="STDOUT" />
1212
</root>
13-
</configuration>
13+
</configuration>

0 commit comments

Comments
 (0)