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

Add global configuration environment SPI

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.10.0
    • API
    • None

    Description

      Create a service provider interface for global configuration property sources. Currently, we support two built in sources: properties loaded from a classpath resource file named "log4j2.component.properties" and from system properties. This feature will abstract those two sources into an SPI with default implementations of those two sources as well as environment variables.

      This SPI should be specified through the standard ServiceLoader API so as to make this simpler to support for users in any environment.

      Related to LOG4J2-1431.

      Attachments

        Activity

          People

            mattsicker Matt Sicker
            mattsicker Matt Sicker
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: