Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-1655

Allow a standard way of stacking/finding configurators

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.3.0, 1.4.0
    • 1.3.0-beta0
    • None
    • None

    Description

      Assuming more logback configurators will be written, it behooves logback-classic to support custom configurators as a service.

      The idea is for artifacts with their own logback configuration methods to contain a service provider implementing the Configurator interface interface , so that logback-classic delegates to the custom Configurator provider at start up time.

      The artifact would also need to declare the aforementioned configurator implementation under the META-INF/services/ch.qos.logback.classic.spi.Configurator pointing it.

      Attachments

        Activity

          People

            ceki Ceki Gülcü
            ceki Ceki Gülcü
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: