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

Reduce temporary objects when rendering ThrowableProxy to text

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.6
    • None
    • Core
    • None

    Description

      It should be possible to avoid creating a lot of temporary Strings by letting classes in org.apache.logging.log4j.core.impl implement StringBuilderFormattable.

      Specifically ThrowableProxy, ExtendedClassInfo, ExtendedStackTraceElement and perhaps ThrowableFormatOptions.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rpopma Remko Popma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: