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

Reusable event memento messages should retain format

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.11.0
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None

      Description

      Currently MutableLogEvent and RingBufferLogEvent memento implementations create ParameterizedMessage instances using the formatted message string and a copy of the parameter array.

      We can use a "MementoMessage" type with fields for both references to the formatted message and the message format, as well as parameters.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ckozak Carter Kozak
                Reporter:
                ckozak Carter Kozak
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: