代码优化

This commit is contained in:
Administrator 2023-04-28 09:41:18 +08:00
parent da6a747003
commit c7498de691

View File

@ -95,9 +95,7 @@
<file>${log.path}/zhgd-all.log</file>
<!--日志文件输出格式-->
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %highlight(%-5level) %method:%L %cyan(%logger{50}) -
%highlight(%msg) %n
</pattern>
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %highlight(%-5level) %method:%L %cyan(%logger{50}) - %highlight(%msg) %n</pattern>
<charset>UTF-8</charset> <!-- 设置字符集 -->
</encoder>
<!-- 日志记录器的滚动策略,按日期,按大小记录 -->