ppkarwasz commented on code in PR #2517: URL: https://github.com/apache/logging-log4j2/pull/2517#discussion_r1579566800
########## src/site/antora/modules/ROOT/pages/manual/json-template-layout.adoc: ########## @@ -1085,7 +1085,7 @@ Resolves `logEvent.getMessage().getParameters()`. Regarding garbage footprint, `stringified` flag translates to `String.valueOf(value)`, hence mind not-`String`-typed values. Further, `logEvent.getMessage()` is expected to implement `ParameterVisitable` interface, -which is the case if `log4j2.enableThreadLocals` property set to true. +which is the case if `log4j2.enableThreadlocals` property set to true. Review Comment: Me, too, except backward compatibility prevents me from doing it. :wink: The original property is `log4j2.enable.threadlocals`, which has 2 tokens `enable` and `threadlocals`. Therefore the normalized form is `log4j2.enableThreadlocals`. -- 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]
