You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/02/23 18:28:00 UTC

[jira] [Commented] (LOG4J2-2789) Conditionally perform status logging calculations in PluginRegistry

    [ https://issues.apache.org/jira/browse/LOG4J2-2789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17043012#comment-17043012 ] 

ASF subversion and git services commented on LOG4J2-2789:
---------------------------------------------------------

Commit bd709c55bbfc521280d0918a2f7786cc40aef589 in logging-log4j2's branch refs/heads/release-2.x from Ralph Goers
[ https://gitbox.apache.org/repos/asf?p=logging-log4j2.git;h=bd709c5 ]

LOG4J2-2789 - Conditionally perform status logging calculations in PluginRegistry.


> 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)