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

Issues creating A Lookup Plugin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.14.1
    • None
    • Configuration
    • None

    Description

      While creating PlugIns for JSON template logging I ran into these issues:

      • The name of the plugin must be lowercase, this was not identified in the doc, so not sure if this is a doc bug or a comparison bug.
      • Only map form is supported, there is no way to trigger the no parameter versionĀ 
      @Override
      public String lookup(String key) {
      

      and without a ":" in the replacement the defaultLookup is used which always fails to call the plugin.

      Attachments

        Activity

          People

            Unassigned Unassigned
            paulrubin37 Paul Rubin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: