From bfd210439b6606084c67bb23bf0410c4c704c30f Mon Sep 17 00:00:00 2001
From: xusd <hugeinfo123>
Date: Sat, 07 Sep 2024 15:10:29 +0800
Subject: [PATCH] AI相关接口修正

---
 dyh-service/dyh-utils/src/main/resources/logback-spring.xml |   20 ++++++++------------
 1 files changed, 8 insertions(+), 12 deletions(-)

diff --git a/dyh-service/dyh-utils/src/main/resources/logback-spring.xml b/dyh-service/dyh-utils/src/main/resources/logback-spring.xml
index 7965148..760a78c 100644
--- a/dyh-service/dyh-utils/src/main/resources/logback-spring.xml
+++ b/dyh-service/dyh-utils/src/main/resources/logback-spring.xml
@@ -22,21 +22,17 @@
             </encoder>
         </appender>
 
-        <!-- 为 MyBatis 设置 DEBUG 级别的日志 -->
-        <logger name="org.apache.ibatis" level="DEBUG"/>
-        <!-- 输出 SQL 语句和参数 -->
-        <logger name="org.apache.ibatis.binding" level="DEBUG"/>
-        <!-- 输出 SQL 语句执行情况 -->
-        <logger name="org.apache.ibatis.session" level="DEBUG"/>
-        <!-- 输出 SQL 语句执行结果 -->
-        <logger name="org.apache.ibatis.executor" level="DEBUG"/>
-        <!-- 输出 SQL 语句 -->
-        <logger name="org.apache.ibatis.scripting" level="DEBUG"/>
-
         <!-- 设置根日志级别,如果日志级别低于设置的级别,则该日志不会被记录。如果日志级别高于设置的级别,那么这条日志将会被记录 -->
-        <root level="DEBUG">
+        <root level="INFO">
             <appender-ref ref="CONSOLE" />
         </root>
+
+        <logger name="cn.huge" level="DEBUG" additivity="true"/>
+        <logger name="org.hibernate.SQL" level="DEBUG" additivity="true"/>
+        <!-- 为 MyBatis 设置 DEBUG 级别的日志 -->
+        <logger name="com.baomidou.mybatisplus" level="INFO" additivity="false">
+            <appender-ref ref="CONSOLE" />
+        </logger>
     </springProfile>
 
     <!-- 测试环境+生产环境,多个使用逗号隔开 -->

--
Gitblit v1.8.0