From a854ee901ec35f92bd02fcfa04bb7146028e98ef Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期六, 05 七月 2025 16:20:34 +0800 Subject: [PATCH] 代码提交 --- ruoyi-admin/src/main/resources/application.yml | 28 ++++++++++++++++++++-------- 1 files changed, 20 insertions(+), 8 deletions(-) diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index bffcc0b..9641646 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -15,7 +15,7 @@ # 楠岃瘉鐮佺被鍨� math 鏁扮粍璁$畻 char 瀛楃楠岃瘉 captchaType: math -# 寮�鍙戠幆澧冮厤缃� +# 寮�鍙戠幆澧冮厤缃� server: # 鏈嶅姟鍣ㄧ殑HTTP绔彛锛岄粯璁や负8080 port: 8095 @@ -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