geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject [geode] branch develop updated: GEODE-3013: Prevent multiple node found error to be displayed in the log (#2029)
Date Tue, 05 Jun 2018 23:45:04 GMT
This is an automated email from the ASF dual-hosted git repository.

nnag pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new f7fb7e3  GEODE-3013: Prevent multiple node found error to be displayed in the log
(#2029)
f7fb7e3 is described below

commit f7fb7e3c659f90af7ee809cbe6e426491691cd76
Author: Nabarun Nag <nabarunnag@users.noreply.github.com>
AuthorDate: Tue Jun 5 16:44:21 2018 -0700

    GEODE-3013: Prevent multiple node found error to be displayed in the log (#2029)
    
    * This will be visible if debug mode is set.
    
    Co-authored-by: Ivan Godwin <igodwin@pivotal.io>
---
 .../tier/sockets/command/ExecuteRegionFunctionSingleHop.java      | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/command/ExecuteRegionFunctionSingleHop.java
b/geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/command/ExecuteRegionFunctionSingleHop.java
index 11a8ce1..4bbaa31 100644
--- a/geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/command/ExecuteRegionFunctionSingleHop.java
+++ b/geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/command/ExecuteRegionFunctionSingleHop.java
@@ -307,9 +307,11 @@ public class ExecuteRegionFunctionSingleHop extends BaseCommand {
           resultSender.setException(fe);
         }
       } else {
-        logger.warn(LocalizedMessage.create(
-            LocalizedStrings.ExecuteRegionFunction_EXCEPTION_ON_SERVER_WHILE_EXECUTIONG_FUNCTION_0,
-            function), fe);
+        if (logger.isDebugEnabled()) {
+          logger.debug(LocalizedMessage.create(
+              LocalizedStrings.ExecuteRegionFunction_EXCEPTION_ON_SERVER_WHILE_EXECUTIONG_FUNCTION_0,
+              function), fe);
+        }
         sendException(hasResult, clientMessage, message, serverConnection, fe);
       }
     } catch (Exception e) {

-- 
To stop receiving notification emails like this one, please contact
nnag@apache.org.

Mime
View raw message