ConfigDataLoaders cannot have a DeferredLogFactory injected preventing their subcomponents from logging accurately #24988
Comments
This was referenced Mar 11, 2021
Closed
Merged
Merged
Closed
Bump spring-boot-starter-parent from 2.4.2 to 2.4.3
checkmarx-ltd/checkmarx-spring-boot-java-sdk#106
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
At the moment,
ConfigDataLoader
instances can have aLog
injected into their constructor but cannot have aDeferredLogFactory
injected. This means that any subcomponents created by aConfigDataLoader
have to use the loader'sLog
rather than one of their own.Being able to inject a
DeferredLogFactory
would be useful for Spring (Cloud) Vault where itsVaultConfigDataLoader
createsLeaseAwareVaultPropertySource
instances that perform some logging.The text was updated successfully, but these errors were encountered: