Browse Source

log4j2日志

李进 2 years ago
parent
commit
5862cf57d3
1 changed files with 4 additions and 1 deletions
  1. 4 1
      device-start/src/main/resources/bootstrap.yml

+ 4 - 1
device-start/src/main/resources/bootstrap.yml

@@ -13,4 +13,7 @@ cloud:
       shared-configs: redis.yaml,mysql.yaml,sa-token.yaml
       name: device
   service:
-    name: dev_device
+    name: dev_device
+
+logging:
+  config: classpath:log4j2-spring.xml