From 8ed5c75c6ae8f59652a2caad2a669ec2fbe56718 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子Li <15040126243@163.com>
Date: 星期二, 05 十二月 2023 12:56:33 +0800
Subject: [PATCH] update 优化 删除 hikaricp 官方不推荐使用的配置 jdbc4 协议自带校验方法

---
 ruoyi-extend/ruoyi-powerjob-server/src/main/resources/application.properties |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/ruoyi-extend/ruoyi-powerjob-server/src/main/resources/application.properties b/ruoyi-extend/ruoyi-powerjob-server/src/main/resources/application.properties
index 7028499..5b6516c 100644
--- a/ruoyi-extend/ruoyi-powerjob-server/src/main/resources/application.properties
+++ b/ruoyi-extend/ruoyi-powerjob-server/src/main/resources/application.properties
@@ -6,6 +6,9 @@
 spring.jpa.open-in-view=false
 spring.data.mongodb.repositories.type=none
 logging.level.org.mongodb=warn
+logging.level.tech.powerjob.server=warn
+logging.level.MONITOR_LOGGER_DB_OPERATION=warn
+logging.level.MONITOR_LOGGER_WORKER_HEART_BEAT=warn
 logging.config: classpath:logback-plus.xml
 
 # Configuration for uploading files.
@@ -21,3 +24,10 @@
 oms.http.port=10010
 # Prefix for all tables. Default empty string. Config if you have needs, i.e. pj_
 oms.table-prefix=pj_
+
+# Actuator 鐩戞帶绔偣鐨勯厤缃」
+spring.application.name: ruoyi-powerjob-server
+management.endpoints.web.exposure.include=*
+management.endpoint.health.show-details=ALWAYS
+management.endpoint.logfile.external-file=./logs/ruoyi-powerjob-server.log
+management.health.mongo.enabled=${oms.mongodb.enable}

--
Gitblit v1.9.3