Skip to content

Commit 041d4d8

Browse files
vjkoskelaBrandonArp
authored andcommitted
Add jsr310 modules to logback configuration. (#156)
1 parent b2338b1 commit 041d4d8

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

config/logback-console.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
<compressLoggerName>true</compressLoggerName>
2222
<jacksonModule class="com.fasterxml.jackson.datatype.guava.GuavaModule" />
2323
<jacksonModule class="com.fasterxml.jackson.datatype.jdk8.Jdk8Module" />
24+
<jacksonModule class="com.fasterxml.jackson.datatype.jsr310.JavaTimeModule" />
2425
<injectBeanIdentifier>true</injectBeanIdentifier>
2526
</encoder>
2627
</appender>

config/logback.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
<compressLoggerName>true</compressLoggerName>
3232
<jacksonModule class="com.fasterxml.jackson.datatype.guava.GuavaModule" />
3333
<jacksonModule class="com.fasterxml.jackson.datatype.jdk8.Jdk8Module" />
34+
<jacksonModule class="com.fasterxml.jackson.datatype.jsr310.JavaTimeModule" />
3435
<injectBeanIdentifier>true</injectBeanIdentifier>
3536
</encoder>
3637
</appender>

0 commit comments

Comments
 (0)