ppkarwasz commented on code in PR #2112:
URL: https://github.com/apache/logging-log4j2/pull/2112#discussion_r1432552916


##########
log4j-core/src/main/java/org/apache/logging/log4j/core/async/AsyncLoggerDisruptor.java:
##########
@@ -122,7 +122,7 @@ public Thread newThread(final Runnable r) {
         final ExceptionHandler<RingBufferLogEvent> errorHandler = 
DisruptorUtil.getAsyncLoggerExceptionHandler();
         disruptor.setDefaultExceptionHandler(errorHandler);
 
-        final RingBufferLogEventHandler[] handlers = {new 
RingBufferLogEventHandler()};
+        final RingBufferLogEventHandler4[] handlers = 
{RingBufferLogEventHandler4.create()};

Review Comment:
   Done: moved to a `createEventHandler` method in this class.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to