Description
There are numerous classes that use static initializer blocks to perform computation for caching some results. These should all generally be deferred until some other reference to the class such as instantiation of use of a singleton getter method.
In general, this points to a lack of centralized initialization of the API. This should be addressed through a proper SPI.
Attachments
Issue Links
- is a child of
-
LOG4J2-2795 Make LogManager/LoggerContext creation time reasonable
- Open