diff --git a/spring-cloud-context/src/main/java/org/springframework/cloud/bootstrap/config/PropertySourceBootstrapConfiguration.java b/spring-cloud-context/src/main/java/org/springframework/cloud/bootstrap/config/PropertySourceBootstrapConfiguration.java index 1822e5bc2..f29b5394e 100644 --- a/spring-cloud-context/src/main/java/org/springframework/cloud/bootstrap/config/PropertySourceBootstrapConfiguration.java +++ b/spring-cloud-context/src/main/java/org/springframework/cloud/bootstrap/config/PropertySourceBootstrapConfiguration.java @@ -106,7 +106,10 @@ public void initialize(ConfigurableApplicationContext applicationContext) { sourceList.add(new SimpleBootstrapPropertySource(p)); } } - logger.info("Located property source: " + sourceList); + logger.info("Located property source. Property names: " + sourceList.stream().map( + PropertySource::getName).collect(Collectors.toList())); + logger.debug("Property values: " + sourceList.stream().map( + PropertySource::getSource).collect(Collectors.toList())); composite.addAll(sourceList); empty = false; }