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

Reusable event memento messages should retain format

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.11.0
    • None
    • Core
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment