Description
As discussed in LOG4J2-1125, storing ThreadLocal<StringBuilder> in a static field may not interact well with the thread pools and class loaders of some web containers and may result in memory leaks, especially in older web containers.
Attachments
Attachments
Issue Links
- is broken by
-
LOG4J2-1125 Reuse StringBuilder to improve performance for PatternLayout
- Closed