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

Impossible to specify AdditionalField of JsonLayout in json config

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.14.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      log4j2 2.14.0 on Oracle JDK 14

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vy Volkan Yazici
                Reporter:
                expert expert
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: