Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-2789

Conditionally perform status logging calculations in PluginRegistry

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.13.0
    • 2.13.1
    • Plugins
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rgoers Ralph Goers
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: