geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject geode git commit: GEODE-2372: handleException prints the stacktrace when debug enabled
Date Thu, 02 Feb 2017 23:01:14 GMT
Repository: geode
Updated Branches:
  refs/heads/develop c6fa2b9eb -> 868fcc835


GEODE-2372: handleException prints the stacktrace when debug enabled


Project: http://git-wip-us.apache.org/repos/asf/geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/geode/commit/868fcc83
Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/868fcc83
Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/868fcc83

Branch: refs/heads/develop
Commit: 868fcc8359d825565976b5774cf012f675ded51a
Parents: c6fa2b9
Author: nabarun <nnag@pivotal.io>
Authored: Thu Jan 26 12:14:52 2017 -0800
Committer: nabarun <nnag@pivotal.io>
Committed: Thu Feb 2 14:56:33 2017 -0800

----------------------------------------------------------------------
 .../org/apache/geode/cache/client/internal/OpExecutorImpl.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/868fcc83/geode-core/src/main/java/org/apache/geode/cache/client/internal/OpExecutorImpl.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/org/apache/geode/cache/client/internal/OpExecutorImpl.java
b/geode-core/src/main/java/org/apache/geode/cache/client/internal/OpExecutorImpl.java
index 54f8e39..6c2d077 100644
--- a/geode-core/src/main/java/org/apache/geode/cache/client/internal/OpExecutorImpl.java
+++ b/geode-core/src/main/java/org/apache/geode/cache/client/internal/OpExecutorImpl.java
@@ -789,9 +789,9 @@ public class OpExecutorImpl implements ExecutablePool {
         final String msg = sb.toString();
         if (logEnabled) {
           if (warn) {
-            logger.warn(msg /* , e */);
+            logger.warn(msg);
           } else {
-            logger.debug(msg /* , e */);
+            logger.debug(msg, e);
           }
         }
         if (forceThrow || finalAttempt) {


Mime
View raw message