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

MapMessage should support both StringBuilderFormattable and MultiformatMessage

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.9.1
    • Fix Version/s: 2.10.0
    • Component/s: Layouts
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: