This is an automated email from the ASF dual-hosted git repository.

jianbin pushed a commit to branch 2.x
in repository https://gitbox.apache.org/repos/asf/incubator-seata.git


The following commit(s) were added to refs/heads/2.x by this push:
     new a0d05134a7 optimize: Log args mismatch (#6879)
a0d05134a7 is described below

commit a0d05134a712606465b47148a9122eb73ff72425
Author: ARNOLD MA <[email protected]>
AuthorDate: Tue Oct 8 10:58:16 2024 +0200

    optimize: Log args mismatch (#6879)
---
 changes/en-us/2.x.md                                                  | 3 +++
 changes/zh-cn/2.x.md                                                  | 4 ++++
 .../org/apache/seata/core/rpc/netty/NettyClientChannelManager.java    | 2 +-
 3 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md
index 96d8512a2d..e252b79b24 100644
--- a/changes/en-us/2.x.md
+++ b/changes/en-us/2.x.md
@@ -19,6 +19,7 @@ Add changes here for all PR submitted to the 2.x branch.
 - [[#6892](https://github.com/apache/incubator-seata/pull/6892)] upgrade npmjs 
version
 - [[#6889](https://github.com/apache/incubator-seata/pull/6889)] Correct word 
spelling errors
 - [[#6898](https://github.com/apache/incubator-seata/pull/6898)] upgrade npmjs 
version in saga module
+- [[#6879](https://github.com/apache/incubator-seata/pull/6879)] fix log 
argument mismatch issue
 - [[#6902](https://github.com/apache/incubator-seata/pull/6900)] optimize 
readme docs
 
 
@@ -38,8 +39,10 @@ Thanks to these contributors for their code commits. Please 
report an unintended
 - [dk2k](https://github.com/dk2k)
 - [MaoMaoandSnail](https://github.com/MaoMaoandSnail)
 - [yougecn](https://github.com/yougecn)
+- [arrrnold17](https://github.com/arrrnold17)
 - [xjlgod](https://github.com/xjlgod)
 - [PleaseGiveMeTheCoke](https://github.com/PleaseGiveMeTheCoke)
 
 
+
 Also, we receive many valuable issues, questions and advices from our 
community. Thanks for you all.
diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md
index b100d18320..2c69ea823b 100644
--- a/changes/zh-cn/2.x.md
+++ b/changes/zh-cn/2.x.md
@@ -18,9 +18,12 @@
 - [[#6883](https://github.com/apache/incubator-seata/pull/6874)] 删除代码中无用对象的创建
 - [[#6892](https://github.com/apache/incubator-seata/pull/6892)] 升级 npmjs 版本
 - [[#6889](https://github.com/apache/incubator-seata/pull/6889)] 修正单词拼写错误
+- [[#6898](https://github.com/apache/incubator-seata/pull/6898)] 升级 saga 模块 
npmjs 版本
+- [[#6879](https://github.com/apache/incubator-seata/pull/6879)] 修复日志参数不匹配问题
 - [[#6898](https://github.com/apache/incubator-seata/pull/6898)] 升级 saga 模块 
npmjs 版本 
 - [[#6902](https://github.com/apache/incubator-seata/pull/6900)] 优化 readme 文档
 
+
 ### refactor:
 
 
@@ -38,6 +41,7 @@
 - [dk2k](https://github.com/dk2k)
 - [MaoMaoandSnail](https://github.com/MaoMaoandSnail)
 - [yougecn](https://github.com/yougecn)
+- [arrrnold17](https://github.com/arrrnold17)
 - [xjlgod](https://github.com/xjlgod)
 - [PleaseGiveMeTheCoke](https://github.com/PleaseGiveMeTheCoke)
 
diff --git 
a/core/src/main/java/org/apache/seata/core/rpc/netty/NettyClientChannelManager.java
 
b/core/src/main/java/org/apache/seata/core/rpc/netty/NettyClientChannelManager.java
index 96287c7283..7be0de2e72 100644
--- 
a/core/src/main/java/org/apache/seata/core/rpc/netty/NettyClientChannelManager.java
+++ 
b/core/src/main/java/org/apache/seata/core/rpc/netty/NettyClientChannelManager.java
@@ -243,7 +243,7 @@ class NettyClientChannelManager {
                             
failedMap.values().stream().map(Throwable::getMessage).collect(Collectors.toSet()));
                 } else if (LOGGER.isDebugEnabled()) {
                     failedMap.forEach((key, value) -> {
-                        LOGGER.error("{} can not connect to {} cause:{} trace 
information:{}",
+                        LOGGER.error("{} can not connect to {} cause:{} trace 
information:",
                                 FrameworkErrorCode.NetConnect.getErrCode(), 
key, value.getMessage(), value);
                     });
                 }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to