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

Output Json object for ObjectMessage in JsonLayout

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.11.0
    • Component/s: Core
    • Labels:
      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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: