单元测试优化,不再必须依赖 j2cache.proerties 属性文件,系统默认会设定一些默认值。

This commit is contained in:
thinkgem
2019-08-02 18:12:46 +08:00
parent 7b599405fa
commit 77155af474
4 changed files with 7 additions and 15 deletions

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration debug="false" scan="false">
<!-- Framework level setting -->
<include resource="config/logger-core.xml"/>
<include resource="org/springframework/boot/logging/logback/defaults.xml" />
<!-- Console log output -->
<appender name="console" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} %clr(%-5p) %clr([%-39logger{39}]){cyan} - %m%n%wEx</pattern>
</encoder>
</appender>
<!-- Level: FATAL 0 ERROR 3 WARN 4 INFO 6 DEBUG 7 -->
<root level="WARN">
<appender-ref ref="console" />
</root>
</configuration>