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

Performance improvement for %highlight with Normal

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.5
    • None
    • Pattern Converters
    • None

    Description

      When pattern use %highlight with a color "Normal", do not write highlight codes to output.

      For sample, when the level is "INFO", for the below pattern, the highlight processing could be skipped :

      %highlight{%m}{WARN=Red, INFO=Normal}
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              fabdouglas Fabrice Daugan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: