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


##########
log4j-jctools/src/main/java/org/apache/logging/log4j/jctools/JCToolsRecyclerFactoryProvider.java:
##########
@@ -52,7 +51,7 @@ public String getName() {
     @Override
     public RecyclerFactory createForEnvironment(final PropertyEnvironment 
environment) {
         requireNonNull(environment, "environment");
-        final int capacity = 
environment.getIntegerProperty(LoggingSystemProperty.RECYCLER_CAPACITY, 
DEFAULT_CAPACITY);
+        final int capacity = 
environment.getIntegerProperty("Recycler.capacity", DEFAULT_CAPACITY);

Review Comment:
   Yes, it appears in #2400, but here `PropertyEnvironment` is still the one 
from `log4j-api` 3.x, not `log4j-kit`.



-- 
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: notifications-unsubscr...@logging.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to