[
https://issues.apache.org/jira/browse/LOG4J2-3441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17533352#comment-17533352
]
Matt Sicker commented on LOG4J2-3441:
-------------------------------------
{{StrLookup}} plugin instantiation is lazily loaded in {{{}Interpolator{}}}.
Still need to update {{PatternParser}} to support lazy loading of
{{PatternConverter}} plugins.
> Defer loading of StrLookup and PatternConverter plugin classes until first use
> ------------------------------------------------------------------------------
>
> Key: LOG4J2-3441
> URL: https://issues.apache.org/jira/browse/LOG4J2-3441
> Project: Log4j 2
> Issue Type: Improvement
> Components: Lookups, Pattern Converters, Plugins
> Reporter: Matt Sicker
> Assignee: Matt Sicker
> Priority: Major
>
> StrLookup and PatternConverter plugins are eagerly loaded at startup. At this
> point, these are a fairly large number of classes! If these plugins could be
> lazily loaded similar to how Core category plugins aren't loaded until first
> used in a configuration, that should shave off some startup time.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)