From 19530c185648802e6d7d63fd2507487a802dc9a7 Mon Sep 17 00:00:00 2001 From: Github_lizhw <171332584@qq.com> Date: Sun, 10 Nov 2024 15:48:23 +0800 Subject: [PATCH] =?UTF-8?q?log=20=E5=8C=85=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/org/dromara/common/log/aspect/LogAspect.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ruoyi-common/ruoyi-common-log/src/main/java/org/dromara/common/log/aspect/LogAspect.java b/ruoyi-common/ruoyi-common-log/src/main/java/org/dromara/common/log/aspect/LogAspect.java index 3b352ccc0..bbec31099 100644 --- a/ruoyi-common/ruoyi-common-log/src/main/java/org/dromara/common/log/aspect/LogAspect.java +++ b/ruoyi-common/ruoyi-common-log/src/main/java/org/dromara/common/log/aspect/LogAspect.java @@ -49,8 +49,7 @@ public class LogAspect { if (commonLogTenantIntercept != null) { log.info("CommonLogTenantIntercept 有实现对象: " + commonLogTenantIntercept.getClass().getName()); } else { - System.exit(0); - throw new RuntimeException("CommonLogTenantIntercept 未实现, 请实现 CommonLogTenantIntercept 接口"); + log.warn("CommonLogTenantIntercept 未实现, 请实现 CommonLogTenantIntercept 接口"); } }