You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@logging.apache.org by "Mikael Ståldal (JIRA)" <ji...@apache.org> on 2017/08/17 19:00:01 UTC
[jira] [Resolved] (LOG4J2-2020) Remove default layout from
KafkaAppender
[ https://issues.apache.org/jira/browse/LOG4J2-2020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mikael Ståldal resolved LOG4J2-2020.
------------------------------------
Resolution: Fixed
Fix Version/s: 2.9
In Git master.
> Remove default layout from KafkaAppender
> ----------------------------------------
>
> Key: LOG4J2-2020
> URL: https://issues.apache.org/jira/browse/LOG4J2-2020
> Project: Log4j 2
> Issue Type: Improvement
> Components: Appenders
> Affects Versions: 2.8.2
> Reporter: Mikael Ståldal
> Assignee: Mikael Ståldal
> Fix For: 2.9
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)