From 1fe369bbd4ee5f9c658b6b3b777235df6d987142 Mon Sep 17 00:00:00 2001 From: Dimitar Dimitrov Date: Tue, 27 Jan 2026 00:49:09 +0100 Subject: [PATCH] MINOR: Fix prop name for AsyncLoggerConfig ring buffer size The docs for the AsyncLoggerConfig properties, which are relevant for mixed sync and async loggers, specify the wrong property name for the config that controls the Disruptor ring buffer size. Interestingly the right property name is used in the anchor ID linking to the exact section in the docs, but if you copy the property name from the docs themselves (like me), you are gonna have a bad time. I found this after noticing a too big ring buffer in a heap dump, and ended up chasing it with the StatusLogger debug logging and the log line in AsyncLoggerConfigDisruptor.start dumping the configured size. The small fix was also verified this way. In hindsight, this should have been obvious, but it really wasn't (for me). --- .../manual/systemproperties/properties-async-logger-config.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/site/antora/modules/ROOT/partials/manual/systemproperties/properties-async-logger-config.adoc b/src/site/antora/modules/ROOT/partials/manual/systemproperties/properties-async-logger-config.adoc index c8883cc040b..769f1faa7b2 100644 --- a/src/site/antora/modules/ROOT/partials/manual/systemproperties/properties-async-logger-config.adoc +++ b/src/site/antora/modules/ROOT/partials/manual/systemproperties/properties-async-logger-config.adoc @@ -35,7 +35,7 @@ The class needs to have a public zero-argument constructor. The default exception handler will print a message and stack trace to the standard error output stream. [id=log4j2.asyncLoggerConfigRingBufferSize] -== `log4j2.asyncLoggerRingConfigBufferSize` +== `log4j2.asyncLoggerConfigRingBufferSize` [cols="1h,5"] |===