You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2018/08/06 22:39:38 UTC

logging-log4j2 git commit: Revert "Add low-level method org.apache.logging.log4j.core.appender.AsyncAppender.getThreadQueueSize() to help synch tests in applications."

Repository: logging-log4j2
Updated Branches:
  refs/heads/master 1927dfa7e -> 165bc96ee


Revert "Add low-level method org.apache.logging.log4j.core.appender.AsyncAppender.getThreadQueueSize() to help synch tests in applications."

This reverts commit 1927dfa7e2c148ffcfd1345ef3f297713b55daa6.


Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/165bc96e
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/165bc96e
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/165bc96e

Branch: refs/heads/master
Commit: 165bc96ee2a5fcb399f29213103528461f99cfd6
Parents: 1927dfa
Author: Gary Gregory <gg...@apache.org>
Authored: Mon Aug 6 16:39:12 2018 -0600
Committer: Gary Gregory <gg...@apache.org>
Committed: Mon Aug 6 16:39:12 2018 -0600

----------------------------------------------------------------------
 .../apache/logging/log4j/core/appender/AsyncAppender.java | 10 ----------
 1 file changed, 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/165bc96e/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/AsyncAppender.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/AsyncAppender.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/AsyncAppender.java
index 1aeb8e9..b0ed1d9 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/AsyncAppender.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/AsyncAppender.java
@@ -534,14 +534,4 @@ public final class AsyncAppender extends AbstractAppender {
     public int getQueueSize() {
         return queue.size();
     }
-
-    /**
-     * Returns the number of elements in the queue from the background thread.
-     * 
-     * @return the number of elements in the queue from the background thread. 
-     * @since 2.11.2
-     */
-    public int getThreadQueueSize() {
-        return thread == null ? 0 : thread.queue == null ? 0 : thread.queue.size();
-    }
 }