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

Output Json object for ObjectMessage in JsonLayout

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.11.0
    • Core
    • None

    Description

      Currently, the message field is a JSON "string" instead of a JSON object. We should add a new parameter in JsonLayout to allow converting to JSON object if it is ObjectMessage.

      Attachments

        Activity

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

          People

            mikaelstaldal Mikael Ståldal
            franzilogy Franz Wong
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment