Forráskód Böngészése

logback配置更改

zouxuan 1 éve
szülő
commit
04c0aaca45

+ 3 - 1
cooleshow-gateway/gateway-web/src/main/resources/bootstrap-dev.yml

@@ -11,4 +11,6 @@ spring:
         enabled: true
         shared-configs:
           - data-id: base.yaml
-            refresh: true
+            refresh: true
+logging:
+  config: classpath:logback-dev.xml

+ 2 - 0
cooleshow-gateway/gateway-web/src/main/resources/bootstrap-prod.yml

@@ -10,3 +10,5 @@ spring:
         refresh:
           enabled: true
         enabled: true
+logging:
+  config: classpath:logback-spring.xml

+ 3 - 1
cooleshow-gateway/gateway-web/src/main/resources/bootstrap-test.yml

@@ -11,4 +11,6 @@ spring:
         enabled: true
         shared-configs:
           - data-id: base.yaml
-            refresh: true
+            refresh: true
+logging:
+  config: classpath:logback-test.xml