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

The MongoDB Appender should use keys and values from a Log4j MapMessage

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

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

    Description

      The MongoDB Appender should use a keys and values for a Log4j MapMessage.

      When a MapMessage is passed to a logger API and that Message makes it all the way to the MongoDB provider of a NoSQL Appender, then the resulting object sent to MongoDB will have the MapMessage keys and values instead of the fields of the LogEvent.

      Attachments

        Issue Links

        Activity

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

          People

            ggregory Gary D. Gregory
            ggregory Gary D. Gregory
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment