ppkarwasz commented on issue #2655: URL: https://github.com/apache/logging-log4j2/issues/2655#issuecomment-2839147764
> This is a somewhat unfavourable response, an exception or the automatic use of the SimpleProvider would be better. The Log4j API uses static initialization to choose the implementation it uses. After it starts, it is no longer possible to replace the initial implementation with another one. We could probably use an implementation of `LoggerContextFactory` that returns wrapper loggers until the real implementation comes online, but [`pax-logging-api` already does that](https://github.com/ops4j/org.ops4j.pax.logging/blob/main/pax-logging-api/src/main/java/org/ops4j/pax/logging/log4jv2/Log4jv2LoggerContext.java), so I am not sure if the change is worth the effort. I'll put this on our TODO list, but this very low priority and we probably don't have the bandwidth to do the changes. PRs are welcome! -- 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