Browse Source

修改配置文件

cuimengchao 3 years ago
parent
commit
08c3d4e839
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/main/resources/application-prod.yml

+ 2 - 1
src/main/resources/application-prod.yml

@@ -57,8 +57,9 @@ logging:
     com.yixin.review: info
   logback:
     rollingpolicy:
-      max-history: 3
+      max-history: 1
       max-file-size: 10MB
+      clean-history-on-start: true
 
 mybatis:
   mapper-locations: classpath:mapper/*.xml