Created
November 10, 2021 22:02
-
-
Save wenqiglantz/f598722322f686e2b228ed77198f0773 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration scan="true"> | |
<appender name="json" class="ch.qos.logback.core.ConsoleAppender"> | |
<layout class="ch.qos.logback.contrib.json.classic.JsonLayout"> | |
<jsonFormatter | |
class="ch.qos.logback.contrib.jackson.JacksonJsonFormatter"> | |
<prettyPrint>true</prettyPrint> | |
</jsonFormatter> | |
<timestampFormat>yyyy-MM-dd' 'HH:mm:ss.SSS</timestampFormat> | |
</layout> | |
</appender> | |
<root level="info"> | |
<appender-ref ref="json"/> | |
</root> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment