Explorar o código

配置文件修改。

zhengqiang %!s(int64=3) %!d(string=hai) anos
pai
achega
2fa6384740
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      web/src/main/resources/logback-spring.xml

+ 1 - 1
web/src/main/resources/logback-spring.xml

@@ -13,7 +13,7 @@
         </encoder>
     </appender>
     <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
-        <file>${loggerPath}/logfile.log</file>
+        <file>${loggerPath}/log/logfile.log</file>
         <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
             <fileNamePattern>${loggerPath}/log/logfile.%d{yyyy-MM-dd}.log</fileNamePattern>
             <MaxHistory>30</MaxHistory>