wks 2 роки тому
батько
коміт
5d9c3ba94b

+ 6 - 9
src/main/resources/application-prod.yml

@@ -231,10 +231,6 @@ zijin:
 agreement:
   shutdown: true
 
-logging:
-  path: /ins/logs
-
-
 # 华泰
 huatai:
   api:
@@ -264,18 +260,19 @@ guoren:
     interfacePwd: $2a$04$r4neihDJh420OyWEji5w5OMbiyHqYEZHJGLZP0FHFEjXmr7nVW7te
     iftest: N
 
-
-
 qrcode:
   genAddress: http://sxzgkj.baoxianzhanggui.com/web-api/order/qrCode/index
 
-
 #大家财险api
 dajia:
   api:
     url: https://ics.djbx.com/sip-agent/simpleRequest/
     encryptKey: "By92YPLvG89XyFqv"
 
-
 knife4j:
-  enable: false
+  enable: false
+
+# log 配置
+logging:
+  file:
+    path: /ins/logs

+ 5 - 3
src/main/resources/application-test.yml

@@ -309,9 +309,6 @@ image:
   identificationUrl: http://sxzgkj.baoxianzhanggui.com/zm/images/recognition
 
 
-logging:
-  path: /ins/logs
-
 agreement:
   shutdown: true
 
@@ -357,3 +354,8 @@ guoren:
 
 qrcode:
   genAddress: http://39.98.239.48/order/qrCode/index
+
+# log 配置
+logging:
+  file:
+    path: /ins/logs

+ 0 - 2
src/main/resources/application.yml

@@ -13,7 +13,6 @@ spring:
 
 # 日志配置
 logging:
-  path: ./logs
   config: classpath:logback-spring.xml
   level:
     root: INFO
@@ -22,7 +21,6 @@ logging:
     org.mybatis: DEBUG
 
 
-
 ############## Sa-Token 配置 (文档: https://sa-token.cc) ##############
 sa-token:
   # token前缀