From 48a28c79c0dc1203cb71147dcff0b4d4bf7bc8d0 Mon Sep 17 00:00:00 2001
From: “djh” <“3298565835@qq.com”>
Date: Tue, 04 Nov 2025 13:18:27 +0800
Subject: [PATCH] 修改

---
 src/main/resources/config/application-dev.yaml |   23 +++++++++++++----------
 1 files changed, 13 insertions(+), 10 deletions(-)

diff --git a/src/main/resources/config/application-dev.yaml b/src/main/resources/config/application-dev.yaml
index 338d7e9..d69c74e 100644
--- a/src/main/resources/config/application-dev.yaml
+++ b/src/main/resources/config/application-dev.yaml
@@ -2,27 +2,26 @@
   port: 17080
 
 spring:
-  #    enable-logging: false
+#  enable-logging: true
   datasource:
     type: com.alibaba.druid.pool.DruidDataSource
     driver-class-name: com.mysql.cj.jdbc.Driver
-    url: jdbc:mysql://192.168.0.52:3306/fourier_specialgas_monitor.dev?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&useAffectedRows=true
-    username: gkhy_dev_team
-    password: Sjscn783fsDsa21
+    url: jdbc:mysql://192.168.2.90:7006/fourier_specialgas_monitor.uat?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&useAffectedRows=true
+    username: root
+    password: 2farwL3yPXfbH2AP
     master:
       driver-class-name: com.mysql.cj.jdbc.Driver
-      url: jdbc:mysql://192.168.0.52:3306/fourier_specialgas_monitor.dev?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&useAffectedRows=true
-      username: gkhy_dev_team
-      password: Sjscn783fsDsa21
+      url: jdbc:mysql://192.168.2.90:7006/fourier_specialgas_monitor.uat?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&useAffectedRows=true
+      username: root
+      password: 2farwL3yPXfbH2AP
       type: com.alibaba.druid.pool.DruidDataSource
   jpa:
     hibernate:
       ddl-auto: none
 #      ddl-auto: update #自动更新
-    show-sql: false  #日志中显示sql语句
+    show-sql: true  #日志中显示sql语句
 
   redis:
-#    host: 192.168.0.52
 #    port: 6371
 #    password: SEF98uvs98dUAUEF90Udssa      # Redis 服务器密码,默认为空。生产中,一定要设置 Redis 密码!
 #    database: 0           # Redis 数据库号,默认为 0
@@ -116,4 +115,8 @@
     enabled: false
 
 
-
+logging:
+  config: classpath:config/log4j2-spring.xml  # 指向新创建的Log4j2配置文件
+  level:
+    root: INFO
+    org.com.gkhy: DEBUG  # 保持原日志级别配置

--
Gitblit v1.9.2