You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Volkan Yazici (Jira)" <ji...@apache.org> on 2021/02/03 08:36:00 UTC

[jira] [Resolved] (LOG4J2-3013) Impossible to specify AdditionalField of JsonLayout in json config

     [ https://issues.apache.org/jira/browse/LOG4J2-3013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Volkan Yazici resolved LOG4J2-3013.
-----------------------------------
      Assignee: Volkan Yazici
    Resolution: Duplicate

> Impossible to specify AdditionalField of JsonLayout in json config
> ------------------------------------------------------------------
>
>                 Key: LOG4J2-3013
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-3013
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Configurators, JsonTemplateLayout
>    Affects Versions: 2.14.0
>         Environment: log4j2 2.14.0 on Oracle JDK 14
>            Reporter: expert
>            Assignee: Volkan Yazici
>            Priority: Major
>
> Applogozies I have to resort to creating an issue but I think it's major problem for users who want to use new json config.
> Could you please demostrate how to specify AdditionalField of JsonLayout in json config ?
> Ideally it would be good to see in documentation example of configuration for every type of plugin annotation (PluginBuilderAttribute, PluginElement and etc.)
> Unfortunatelly I couldnt'n figure out how to set additionalFields after two hours of heavy debugging in log4j2 sources.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)