Repository: logging-log4j2
Updated Branches:
  refs/heads/master d90840072 -> a0e946de5


LOG4J2-2048 Increase default queue size for AsyncAppender from 128 to 1024.


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

Branch: refs/heads/master
Commit: a0e946de5411cc16d56a9bb5eb2a6aa62caaac53
Parents: d908400
Author: rpopma <[email protected]>
Authored: Thu Sep 14 07:58:46 2017 +0900
Committer: rpopma <[email protected]>
Committed: Thu Sep 14 07:58:46 2017 +0900

----------------------------------------------------------------------
 .../org/apache/logging/log4j/core/appender/AsyncAppender.java     | 2 +-
 src/changes/changes.xml                                           | 3 +++
 src/site/xdoc/manual/appenders.xml                                | 2 +-
 3 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/a0e946de/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 8d607e7..1e3626c 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
@@ -60,7 +60,7 @@ import org.apache.logging.log4j.message.Message;
 @Plugin(name = "Async", category = Core.CATEGORY_NAME, elementType = 
Appender.ELEMENT_TYPE, printObject = true)
 public final class AsyncAppender extends AbstractAppender {
 
-    private static final int DEFAULT_QUEUE_SIZE = 128;
+    private static final int DEFAULT_QUEUE_SIZE = 1024;
     private static final LogEvent SHUTDOWN_LOG_EVENT = new AbstractLogEvent() {
     };
 

http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/a0e946de/src/changes/changes.xml
----------------------------------------------------------------------
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index ca4d73f..b13ea15 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -31,6 +31,9 @@
          - "remove" - Removed
     -->
     <release version="2.9.1" date="2017-MM-DD" description="GA Release 2.9.1">
+      <action issue="LOG4J2-2048" dev="rpopma" type="fix">
+        Increase default queue size for AsyncAppender from 128 to 1024.
+      </action>
       <action issue="LOG4J2-2035" dev="rpopma" type="fix">
         Fix documentation to clarify disruptor-3.3.4 is now required for async 
loggers: disruptor-3.3.3 was never released.
       </action>

http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/a0e946de/src/site/xdoc/manual/appenders.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/manual/appenders.xml 
b/src/site/xdoc/manual/appenders.xml
index f24888e..c4982c0 100644
--- a/src/site/xdoc/manual/appenders.xml
+++ b/src/site/xdoc/manual/appenders.xml
@@ -97,7 +97,7 @@
             <tr>
               <td>bufferSize</td>
               <td>integer</td>
-              <td>Specifies the maximum number of events that can be queued. 
The default is 128. Note that when using a
+              <td>Specifies the maximum number of events that can be queued. 
The default is 1024. Note that when using a
                 disruptor-style <tt>BlockingQueue</tt>, this buffer size must 
be a power of 2.
                 <p>
                   When the application is logging faster than the underlying 
appender can keep up with

Reply via email to