From 8eeac834a39d362005b244e911c5c7cab3e95057 Mon Sep 17 00:00:00 2001 From: lizhongyuan3 Date: Mon, 18 Dec 2023 14:00:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=81=E4=B8=9A=E5=BE=AE=E4=BF=A1=E9=80=9A?= =?UTF-8?q?=E7=9F=A5=E5=92=8C=E9=A3=9E=E4=B9=A6=E9=80=9A=E7=9F=A5=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E5=8F=91=E9=80=81=E5=A4=B1=E8=B4=A5=E7=9A=84=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E6=89=93=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../aizuda/easy/retry/common/core/alarm/strategy/LarkAlarm.java | 2 +- .../easy/retry/common/core/alarm/strategy/QiYeWechatAlarm.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/easy-retry-common/easy-retry-common-core/src/main/java/com/aizuda/easy/retry/common/core/alarm/strategy/LarkAlarm.java b/easy-retry-common/easy-retry-common-core/src/main/java/com/aizuda/easy/retry/common/core/alarm/strategy/LarkAlarm.java index e4612b48..1ffcddc0 100644 --- a/easy-retry-common/easy-retry-common-core/src/main/java/com/aizuda/easy/retry/common/core/alarm/strategy/LarkAlarm.java +++ b/easy-retry-common/easy-retry-common-core/src/main/java/com/aizuda/easy/retry/common/core/alarm/strategy/LarkAlarm.java @@ -70,7 +70,7 @@ public class LarkAlarm extends AbstractAlarm { if (execute.isOk()) { return true; } - log.error("发送lark消息失败:{}", execute.body()); + LogUtils.error(log, "发送lark消息失败:{}", execute.body()); return false; } catch (Exception e) { log.error("发送lark消息失败", e); diff --git a/easy-retry-common/easy-retry-common-core/src/main/java/com/aizuda/easy/retry/common/core/alarm/strategy/QiYeWechatAlarm.java b/easy-retry-common/easy-retry-common-core/src/main/java/com/aizuda/easy/retry/common/core/alarm/strategy/QiYeWechatAlarm.java index c0508bee..39a92de2 100644 --- a/easy-retry-common/easy-retry-common-core/src/main/java/com/aizuda/easy/retry/common/core/alarm/strategy/QiYeWechatAlarm.java +++ b/easy-retry-common/easy-retry-common-core/src/main/java/com/aizuda/easy/retry/common/core/alarm/strategy/QiYeWechatAlarm.java @@ -60,7 +60,7 @@ public class QiYeWechatAlarm extends AbstractAlarm { if (execute.isOk()) { return true; } - log.error("发送企业微信消息失败:{}", execute.body()); + LogUtils.error(log, "发送企业微信消息失败:{}", execute.body()); return false; } catch (Exception e) { log.error("发送企业微信消息失败", e);