logback.xml config file

This commit is contained in:
YuCheng Hu 2020-10-17 17:42:21 -04:00
parent 4b21a2795c
commit 0f1ac421c0
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8" ?>
<configuration debug="true">
<include resource="org/springframework/boot/logging/logback/defaults.xml" />
<appender name="STDOUT"
class="ch.qos.logback.core.ConsoleAppender">
<!-- encoders are assigned by default the type
ch.qos.logback.classic.encoder.PatternLayoutEncoder -->
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
</encoder>
</appender>
<root level="debug">
<appender-ref ref="STDOUT"/>
</root>
</configuration>