Browse Source

fix: 恢复log文件打印位置

master
pengwei 6 months ago
parent
commit
057f28f05f
  1. 4
      src/main/resources/logback-spring.xml

4
src/main/resources/logback-spring.xml

@ -2,8 +2,8 @@
<configuration scan="true" scanPeriod="60 seconds" debug="false">
<contextName>logs</contextName>
<!-- 日志位置 -->
<property name="log.path" value="/Users/weipeng/dome/chuankei/supervision/supervision-boot/work/log"/>
<!-- <property name="log.path" value="/work/log"/>-->
<!-- <property name="log.path" value="/Users/weipeng/dome/chuankei/supervision/supervision-boot/work/log"/>-->
<property name="log.path" value="/work/log"/>
<!-- 日志保留时长 -->
<property name="log.maxHistory" value="7"/>
<!-- 控制台格式化及颜色 -->

Loading…
Cancel
Save