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

Lookup Plugin not found

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.4
    • 2.12.0
    • Lookups
    • None
    • Java 1.8, Win64

    Description

      If I define a custom Plugin for Lookups it is recognized by log4j2 but the Interpolator class does not find the Plugin.

      Interpolator.lookup(...) tries to find the key inside its lookups Map but the key in the map is .toLowerCase() and the extracted prefix not. So there is no match.

      Defining my Plugin name with lower chars is working.

      Attachments

        Activity

          People

            rgoers Ralph Goers
            pheinrich Pascal Heinrich
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 10m
                10m
                Remaining:
                Remaining Estimate - 10m
                10m
                Logged:
                Time Spent - Not Specified
                Not Specified