You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by yi...@apache.org on 2018/08/01 02:29:13 UTC

[incubator-dubbo] branch master updated: change the log level (#2066)

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

yiji pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo.git


The following commit(s) were added to refs/heads/master by this push:
     new 2205aa7  change the  log level (#2066)
2205aa7 is described below

commit 2205aa76f9a18e7dee0df6b14f14d8c521e834ec
Author: huyuechy <hu...@163.com>
AuthorDate: Wed Aug 1 10:29:11 2018 +0800

    change the  log level (#2066)
    
    Thanks for your contribution, it looks good to me.
---
 .../apache/dubbo/rpc/cluster/support/wrapper/MockClusterInvoker.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/support/wrapper/MockClusterInvoker.java b/dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/support/wrapper/MockClusterInvoker.java
index 7e3b4e7..a8a984e 100644
--- a/dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/support/wrapper/MockClusterInvoker.java
+++ b/dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/support/wrapper/MockClusterInvoker.java
@@ -75,7 +75,7 @@ public class MockClusterInvoker<T> implements Invoker<T> {
             result = this.invoker.invoke(invocation);
         } else if (value.startsWith("force")) {
             if (logger.isWarnEnabled()) {
-                logger.info("force-mock: " + invocation.getMethodName() + " force-mock enabled , url : " + directory.getUrl());
+                logger.warn("force-mock: " + invocation.getMethodName() + " force-mock enabled , url : " + directory.getUrl());
             }
             //force:direct mock
             result = doMockInvoke(invocation, null);