You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by li...@apache.org on 2023/12/21 11:37:32 UTC
(servicecomb-java-chassis) branch 2.8.x updated: [SCB-2846] set the level from info to warn for the log of retry operation (#4155)
This is an automated email from the ASF dual-hosted git repository.
liubao pushed a commit to branch 2.8.x
in repository https://gitbox.apache.org/repos/asf/servicecomb-java-chassis.git
The following commit(s) were added to refs/heads/2.8.x by this push:
new 659d0c24e [SCB-2846] set the level from info to warn for the log of retry operation (#4155)
659d0c24e is described below
commit 659d0c24eefdbaedf88b416bc0c2e0ee140b7247
Author: yanghao <73...@users.noreply.github.com>
AuthorDate: Thu Dec 21 19:37:27 2023 +0800
[SCB-2846] set the level from info to warn for the log of retry operation (#4155)
---
.../java/org/apache/servicecomb/loadbalance/LoadbalanceHandler.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/handlers/handler-loadbalance/src/main/java/org/apache/servicecomb/loadbalance/LoadbalanceHandler.java b/handlers/handler-loadbalance/src/main/java/org/apache/servicecomb/loadbalance/LoadbalanceHandler.java
index f3fddd1fe..e93f5a1f2 100644
--- a/handlers/handler-loadbalance/src/main/java/org/apache/servicecomb/loadbalance/LoadbalanceHandler.java
+++ b/handlers/handler-loadbalance/src/main/java/org/apache/servicecomb/loadbalance/LoadbalanceHandler.java
@@ -233,7 +233,7 @@ public class LoadbalanceHandler implements Handler {
}
}
- LOGGER.info("operation failed {}, retry to instance [{}], last instance [{}], trace id {}",
+ LOGGER.warn("operation failed {}, retry to instance [{}], last instance [{}], trace id {}",
invocation.getMicroserviceQualifiedName(),
nextServer == null ? "" : nextServer.getHostPort(),
lastServer == null ? "" : lastServer.getHostPort(),