ppkarwasz commented on issue #3250: URL: https://github.com/apache/logging-log4j2/issues/3250#issuecomment-2506513991
To workaround the issue, users can implement their own `ConfigurableInstanceFactoryPostProcessor` that registers a `RecyclerFactory` bean: ```java public class Log4jCorePostProcessor implements ConfigurableInstanceFactoryPostProcessor { @Override public void postProcessFactory(ConfigurableInstanceFactory factory) { factory.registerBinding(Key.forClass(RecyclerFactory.class), () -> RecyclerFactoryProvider.getInstance() .createForEnvironment(null)); } } ``` and register the post-processor with `ServiceLoader`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@logging.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org