Thanks for pointing this out. There is currently a discussion on the dev list about what we want to remain backward compatible in Log4j core. AppenderRef is certainly one of the things that should be.
Ralph > On Sep 8, 2016, at 10:40 AM, Leon Finker <[email protected]> wrote: > > Hi, > > We are using 3rd part library that depends on log4j2 2.3 API. While testing > latest log4j2 master, our process fails to start. Unless this API is > compatible there is no way to upgrade to log4j2 2.7. Can this be fixed? > > [2016-09-08 17:16:54,153Z][FATAL][main:0xf][...] > java.lang.NoSuchMethodError: > org.apache.logging.log4j.core.config.LoggerConfig.createLogger(Ljava/lang/String;Lorg/apache/logging/log4j/Level;Ljava/lang/String;Ljava/lang/String;[Lorg/apache/logging/log4j/core/config/AppenderRef;[Lorg/apache/logging/log4j/core/config/Property;Lorg/apache/logging/log4j/core/config/Configuration;Lorg/apache/logging/log4j/core/Filter;)Lorg/apache/logging/log4j/core/config/LoggerConfig; > at > com.gemstone.gemfire.internal.logging.log4j.Configurator.getOrCreateLoggerConfig(Configurator.java:82) > ~[gemfire-8.2.0.13.jar:?] > at > com.gemstone.gemfire.internal.logging.LogService.configureLoggers(LogService.java:98) > ~[gemfire-8.2.0.13.jar:?] > at > com.gemstone.gemfire.internal.logging.LogService.init(LogService.java:85) > ~[gemfire-8.2.0.13.jar:?] > at > com.gemstone.gemfire.internal.logging.LogService.<clinit>(LogService.java:76) > ~[gemfire-8.2.0.13.jar:?] > at > com.gemstone.gemfire.distributed.internal.DistributionManager.<clinit>(DistributionManager.java:133) > ~[gemfire-8.2.0.13.jar:?] > at > com.gemstone.gemfire.distributed.DistributedSystem.connect(DistributedSystem.java:1610) > ~[gemfire-8.2.0.13.jar:?] > > Also noticed that you changed XmlConfiguration ctor and require > LoggerContext. That's ok since we can change that part. Looks a bit silly: > loggerContext.start(new XmlConfiguration(loggerContext, configSource)); > unless absolutely required, probably not good idea to change the public > XmlConfiguration ctor. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
