geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From u..@apache.org
Subject [24/51] [abbrv] geode git commit: GEODE-3055: change the error message's log level from info to debug.
Date Mon, 21 Aug 2017 21:08:41 GMT
GEODE-3055: change the error message's log level from info to debug.


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

Branch: refs/heads/feature/GEODE-3416
Commit: 2f61dd600eec36f2588ec82a7cfdf1b6e27057f9
Parents: 91430e1
Author: zhouxh <gzhou@pivotal.io>
Authored: Wed Aug 16 16:18:36 2017 -0700
Committer: zhouxh <gzhou@pivotal.io>
Committed: Wed Aug 16 16:19:38 2017 -0700

----------------------------------------------------------------------
 .../geode/internal/cache/PartitionedRegionDataStore.java  | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/2f61dd60/geode-core/src/main/java/org/apache/geode/internal/cache/PartitionedRegionDataStore.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/org/apache/geode/internal/cache/PartitionedRegionDataStore.java
b/geode-core/src/main/java/org/apache/geode/internal/cache/PartitionedRegionDataStore.java
index 95e6598..893ca6b 100644
--- a/geode-core/src/main/java/org/apache/geode/internal/cache/PartitionedRegionDataStore.java
+++ b/geode-core/src/main/java/org/apache/geode/internal/cache/PartitionedRegionDataStore.java
@@ -500,10 +500,12 @@ public class PartitionedRegionDataStore implements HasCachePerfStats
{
       boolean isLeader = leader.equals(this.partitionedRegion);
       if (!isLeader) {
         leader.getDataStore().removeBucket(possiblyFreeBucketId, true);
-        logger.info(
-            "For bucket " + possiblyFreeBucketId + ", failed to create cololcated child bucket
for "
-                + this.partitionedRegion.getFullPath() + ", removed leader region "
-                + leader.getFullPath() + " bucket.");
+        if (isDebugEnabled) {
+          logger.debug("For bucket " + possiblyFreeBucketId
+              + ", failed to create cololcated child bucket for "
+              + this.partitionedRegion.getFullPath() + ", removed leader region "
+              + leader.getFullPath() + " bucket.");
+        }
       }
       throw validationException;
     } finally {


Mime
View raw message