Closed j-denner closed 4 months ago
@j-denner, how urgently do you need this change? I would want to include #181 and this for the next release.
@KarstenSchnitter Whenever it fits best for you. I do not depend on this fix and provided a PR to point out/correct it. (I found it while working on a jax rs integration for logging)
DynLogEnvironment - Also wrap configuration with a LazyInitializer.
In the default flow, the wrapping would not be necessary. But since the
DynamicLogLevelConfiguration
is also exposed viaprotected Optional<DynamicLogLevelConfiguration> getConfiguration()
, it is recreated on each invocation. (Another solution would be to remove getConfiguration(), but this is breaking API contracts)