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

Remove default layout from KafkaAppender

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.8.2
    • 2.9.0
    • Appenders
    • None

    Description

      If you don't specify any layout to KafkaAppender, it will simply include the log message as payload. This is not very useful and inconsistent with how other appenders work.

      It's better if there is no default layout for KafkaAppender, as will be the case for SocketAppender and JmsAppeder now when LOG4J2-1958 is done.

      Attachments

        Issue Links

        Activity

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

          People

            mikaelstaldal Mikael Ståldal
            mikaelstaldal Mikael Ståldal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment