From 5dce75a53738c22cbe924efad19bc26a724ca2ac Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期五, 04 七月 2025 11:46:21 +0800
Subject: [PATCH] 代码提交

---
 ruoyi-admin/src/main/resources/application.yml |   26 +++++++++++++++++++-------
 1 files changed, 19 insertions(+), 7 deletions(-)

diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml
index bffcc0b..64066c9 100644
--- a/ruoyi-admin/src/main/resources/application.yml
+++ b/ruoyi-admin/src/main/resources/application.yml
@@ -37,9 +37,27 @@
 logging:
   # 鏃ュ織璺緞 绀轰緥锛� Windows閰嶇疆D:/ruoyi/logs锛孡inux閰嶇疆 /home/ruoyi/logs,涓嶅~鍚岀骇鐩綍logs锛�
   path: D:/ruoyi/ls/logs
+  # 瀛楃缂栫爜
+  charset:
+    console: UTF-8
+    file: UTF-8
+  # 鏃ュ織鏂囦欢閰嶇疆
+  file:
+    name: ${logging.path}/ruoyi.log
+    max-size: 100MB
+    max-history: 30
+  # 鏃ュ織绾у埆閰嶇疆
   level:
-    com.ruoyi: debug
+    com.ruoyi: info
+    com.smartor: info
     org.springframework: warn
+    org.apache.ibatis: warn
+    # 鎺у埗鍙拌緭鍑虹骇鍒�
+    root: info
+  # 鏃ュ織鏍煎紡閰嶇疆
+  pattern:
+    console: "%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n"
+    file: "%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n"
 
 # 鐢ㄦ埛閰嶇疆
 user:
@@ -105,12 +123,6 @@
   supportMethodsArguments: true
   params: count=countSql
 
-# Swagger閰嶇疆
-swagger:
-  # 鏄惁寮�鍚痵wagger
-  enabled: true
-  # 璇锋眰鍓嶇紑
-  pathMapping: /dev-api
 
 # 闃叉XSS鏀诲嚮
 xss:

--
Gitblit v1.9.3