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

MapMessage should support both StringBuilderFormattable and MultiformatMessage

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.9.1
    • 2.10.0
    • Layouts
    • None

    Description

      Currently MessagePatternConverter will not respect the format, writing the MapMessage directly to a shared StringBuilder using the default encoding.

      We need to implement a "MultiFormatStringBuilderFormattable" type with "void formatTo(String[] formats, StringBuilder buffer);"

      Attachments

        Issue Links

          Activity

            People

              mikaelstaldal Mikael Ståldal
              ckozak Carter Kozak
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: