You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Ralph Goers (Jira)" <ji...@apache.org> on 2020/02/23 19:31:00 UTC
[jira] [Closed] (LOG4J2-2789) Conditionally perform status logging
calculations in PluginRegistry
[ https://issues.apache.org/jira/browse/LOG4J2-2789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ralph Goers closed LOG4J2-2789.
-------------------------------
Resolution: Fixed
> Conditionally perform status logging calculations in PluginRegistry
> -------------------------------------------------------------------
>
> Key: LOG4J2-2789
> URL: https://issues.apache.org/jira/browse/LOG4J2-2789
> Project: Log4j 2
> Issue Type: Improvement
> Components: Plugins
> Affects Versions: 2.13.0
> Reporter: Ralph Goers
> Priority: Major
> Fix For: 2.13.1
>
>
> Debug status logging is typically disabled, but formatting calculations were performed regardless.
> Moving the formatting logic inside of a conditional reduces the startup time of applications. The reduction is mostly attributable to the fact that the class initialization of DecimalFormat is non-trivial for the JVM, as it loads a variety of formatting information.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)