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

zhouxj pushed a commit to branch feature/GEM-883
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/feature/GEM-883 by this push:
     new 13e02d1  GEODE-3967: change to use logger
13e02d1 is described below

commit 13e02d10e3bc46755b6273042840afecf9deb588
Author: zhouxh <[email protected]>
AuthorDate: Fri Nov 17 09:55:32 2017 -0800

    GEODE-3967: change to use logger
---
 .../java/org/apache/geode/internal/cache/LocalRegionDataView.java    | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git 
a/geode-core/src/main/java/org/apache/geode/internal/cache/LocalRegionDataView.java
 
b/geode-core/src/main/java/org/apache/geode/internal/cache/LocalRegionDataView.java
index c591c27..b68859e 100644
--- 
a/geode-core/src/main/java/org/apache/geode/internal/cache/LocalRegionDataView.java
+++ 
b/geode-core/src/main/java/org/apache/geode/internal/cache/LocalRegionDataView.java
@@ -25,6 +25,7 @@ import 
org.apache.geode.internal.cache.entries.AbstractRegionEntry;
 import org.apache.geode.internal.cache.tier.sockets.ClientProxyMembershipID;
 import org.apache.geode.internal.cache.tier.sockets.VersionedObjectList;
 import 
org.apache.geode.internal.cache.versions.ConcurrentCacheModificationException;
+import org.apache.geode.internal.logging.LogService;
 
 /**
  *
@@ -73,7 +74,7 @@ public class LocalRegionDataView implements InternalDataView {
       // in a client cache if another thread is operating on the same key
       event.isConcurrencyConflict(true);
       LocalRegion lr = event.getLocalRegion();
-      new Exception("GGG:invalidateExistingEntry:" + 
event).printStackTrace(System.out);
+      LogService.getLogger().info("GGG:invalidateExistingEntry:" + event, new 
Exception());
       // lr.notifyGatewaySender(EnumListenerEvent.AFTER_INVALIDATE, event);
     }
   }
@@ -87,7 +88,7 @@ public class LocalRegionDataView implements InternalDataView {
       // in a cache if another thread is operating on the same key
       event.isConcurrencyConflict(true);
       LocalRegion lr = event.getLocalRegion();
-      new Exception("GGG:updateEntryVersion:" + 
event).printStackTrace(System.out);
+      LogService.getLogger().info("GGG:updateEntryVersion:" + event, new 
Exception());
       // lr.notifyGatewaySender(EnumListenerEvent.TIMESTAMP_UPDATE, event);
     }
   }

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to