From 3548258136a44382e17c908fa50db0b4e3ad8d86 Mon Sep 17 00:00:00 2001 From: jujunchen <1913210361@qq.com> Date: Fri, 6 Sep 2024 01:50:18 +0800 Subject: [PATCH] add spring boot admin --- .../src/main/resources/application.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/spring-hot-plugin-example/spring-hot-plugin-demo/src/main/resources/application.yml b/spring-hot-plugin-example/spring-hot-plugin-demo/src/main/resources/application.yml index 4ac033c..9ce6372 100644 --- a/spring-hot-plugin-example/spring-hot-plugin-demo/src/main/resources/application.yml +++ b/spring-hot-plugin-example/spring-hot-plugin-demo/src/main/resources/application.yml @@ -21,8 +21,25 @@ spring: username: sa password: + # admin + boot: + admin: + client: + url: http://localhost:8081 +management: + endpoints: + web: + exposure: + include: "*" + info: + env: + enabled: true + + # 开启调式日志 logging: + file: + name: logs/spring-hot-plugin-demo.log level: csdn.itsaysay.plugin: DEBUG