瀏覽代碼

日志动态目录,nacos添加nase.yaml统一管理配置

zouxuan 1 年之前
父節點
當前提交
fbae217eda

+ 2 - 0
cooleshow-auth/auth-server/src/main/resources/bootstrap-pre.yml

@@ -9,3 +9,5 @@ spring:
         file-extension: yaml
         refresh-enabled: true
         enabled: true
+logging:
+  config: classpath:logback-spring.xml

+ 3 - 1
cooleshow-auth/auth-server/src/main/resources/bootstrap-prod.yml

@@ -8,4 +8,6 @@ spring:
         prefix: auth
         file-extension: yaml
         refresh-enabled: true
-        enabled: true
+        enabled: true
+logging:
+  config: classpath:logback-spring.xml