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

Add support for properties selectors

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7
    • 2.15.0
    • Configurators
    • None

    Description

      It would be great to support conditional configuration like logback:

      http://logback.qos.ch/manual/configuration.html#conditional

      This allows for more advanced configuration than is currently possible with property substitution.

      Example use case: to implement https://issues.apache.org/jira/browse/LOG4J2-1685 without log4j library support.

      Attachments

        Activity

          People

            rgoers Ralph Goers
            rocketraman Raman Gupta
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: