|
|
@ -117,10 +117,9 @@ public class LoggingSystemProperties {
|
|
|
|
|
|
|
|
|
|
|
|
private PropertyResolver getPropertyResolver() {
|
|
|
|
private PropertyResolver getPropertyResolver() {
|
|
|
|
if (this.environment instanceof ConfigurableEnvironment) {
|
|
|
|
if (this.environment instanceof ConfigurableEnvironment) {
|
|
|
|
PropertyResolver resolver = new PropertySourcesPropertyResolver(
|
|
|
|
PropertySourcesPropertyResolver resolver = new PropertySourcesPropertyResolver(
|
|
|
|
((ConfigurableEnvironment) this.environment).getPropertySources());
|
|
|
|
((ConfigurableEnvironment) this.environment).getPropertySources());
|
|
|
|
((PropertySourcesPropertyResolver) resolver)
|
|
|
|
resolver.setIgnoreUnresolvableNestedPlaceholders(true);
|
|
|
|
.setIgnoreUnresolvableNestedPlaceholders(true);
|
|
|
|
|
|
|
|
return resolver;
|
|
|
|
return resolver;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return this.environment;
|
|
|
|
return this.environment;
|
|
|
|