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

pivotalsarge 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 cf3fc6c  GEODE-5153: Remove uses of the internal distributed system's 
log writer and the log writer utils' log writer. (#1887)
cf3fc6c is described below

commit cf3fc6cb741472b78dac7e258680f8a201c9c5cd
Author: Michael "Sarge" Dodge <mdo...@pivotal.io>
AuthorDate: Tue May 1 10:27:07 2018 -0700

    GEODE-5153: Remove uses of the internal distributed system's log writer and 
the log writer utils' log writer. (#1887)
---
 .../apache/geode/test/dunit/IgnoredException.java  | 26 ----------------------
 1 file changed, 26 deletions(-)

diff --git 
a/geode-core/src/test/java/org/apache/geode/test/dunit/IgnoredException.java 
b/geode-core/src/test/java/org/apache/geode/test/dunit/IgnoredException.java
index b5c264c..270baed 100755
--- a/geode-core/src/test/java/org/apache/geode/test/dunit/IgnoredException.java
+++ b/geode-core/src/test/java/org/apache/geode/test/dunit/IgnoredException.java
@@ -19,8 +19,6 @@ import java.util.concurrent.ConcurrentLinkedQueue;
 
 import org.apache.logging.log4j.Logger;
 
-import org.apache.geode.distributed.DistributedSystem;
-import org.apache.geode.distributed.internal.InternalDistributedSystem;
 import org.apache.geode.internal.logging.LogService;
 
 /**
@@ -99,18 +97,6 @@ public class IgnoredException implements Serializable, 
AutoCloseable {
     SerializableRunnable removeRunnable =
         new SerializableRunnable(IgnoredException.class.getSimpleName() + " 
remove") {
           public void run() {
-            // TODO: delete use of system.getLogWriter
-            DistributedSystem system = 
InternalDistributedSystem.getConnectedInstance();
-            if (system != null) {
-              system.getLogWriter().info(removeMessage);
-            }
-
-            // TODO: delete use of LogWriterUtils
-            try {
-              LogWriterUtils.getLogWriter().info(removeMessage);
-            } catch (Exception noHydraLogger) {
-            }
-
             logger.info(removeMessage);
           }
         };
@@ -158,18 +144,6 @@ public class IgnoredException implements Serializable, 
AutoCloseable {
     SerializableRunnable addRunnable =
         new SerializableRunnable(IgnoredException.class.getSimpleName() + " 
addIgnoredException") {
           public void run() {
-            // TODO: delete use of system.getLogWriter
-            DistributedSystem system = 
InternalDistributedSystem.getConnectedInstance();
-            if (system != null) {
-              system.getLogWriter().info(addMessage);
-            }
-
-            // TODO: delete use of LogWriterUtils
-            try {
-              LogWriterUtils.getLogWriter().info(addMessage);
-            } catch (Exception noHydraLogger) {
-            }
-
             logger.info(addMessage);
           }
         };

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

Reply via email to