diff --git a/logback-classic/src/main/java/ch/qos/logback/classic/util/DefaultJoranConfigurator.java b/logback-classic/src/main/java/ch/qos/logback/classic/util/DefaultJoranConfigurator.java index b1cbe37cbc..3bf6d90bae 100644 --- a/logback-classic/src/main/java/ch/qos/logback/classic/util/DefaultJoranConfigurator.java +++ b/logback-classic/src/main/java/ch/qos/logback/classic/util/DefaultJoranConfigurator.java @@ -23,8 +23,7 @@ * @since 1.3.0-beta1 */ // Note that DefaultJoranConfigurator is invoked via reflection - - @ConfiguratorRank(value = ConfiguratorRank.NOMINAL) +@ConfiguratorRank(value = ConfiguratorRank.NOMINAL) public class DefaultJoranConfigurator extends ContextAwareBase implements Configurator { final public static String AUTOCONFIG_FILE = "logback.xml"; diff --git a/logback-classic/src/main/java9/module-info.java b/logback-classic/src/main/java9/module-info.java index 23bdab69c1..d2c3998990 100644 --- a/logback-classic/src/main/java9/module-info.java +++ b/logback-classic/src/main/java9/module-info.java @@ -18,7 +18,9 @@ requires ch.qos.logback.core; uses ch.qos.logback.core.spi.Configurator; provides org.slf4j.spi.SLF4JServiceProvider with ch.qos.logback.classic.spi.LogbackServiceProvider; - provides ch.qos.logback.core.spi.Configurator with ch.qos.logback.classic.joran.SerializedModelConfigurator; + provides ch.qos.logback.core.spi.Configurator with ch.qos.logback.classic.joran.SerializedModelConfigurator, + ch.qos.logback.classic.util.DefaultJoranConfigurator, + ch.qos.logback.classic.BasicConfigurator; exports ch.qos.logback.classic; exports ch.qos.logback.classic.boolex;