jvz commented on issue #2373: URL: https://github.com/apache/logging-log4j2/issues/2373#issuecomment-2940776601
> The problem you are describing is due to concurrent initialization of `LoggerContext` and `LogManager`. I am not sure how we can ensure that the initialization of `LogManager` already ended, when `LoggerContext` is initialized. [@jvz](https://github.com/jvz), any ideas? Depends on what you mean by initializing the `LoggerContext`. In `LogManager`, we attempt to initialize `LoggerContext` with a default configuration (i.e., something compiled in the code already, not a config file). In the `main` branch, I had played around with how this is initialized, but I don't remember if we ported those changes to `2.x` after deciding on keeping the API stable. -- 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