Skip to content

Commit 0a3c5a7

Browse files
Changed logging levels in propertySourceBootstrapConfiguration. Fixes spring-cloudgh-949
1 parent f1b3956 commit 0a3c5a7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

spring-cloud-context/src/main/java/org/springframework/cloud/bootstrap/config/PropertySourceBootstrapConfiguration.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,10 @@ public void initialize(ConfigurableApplicationContext applicationContext) {
106106
sourceList.add(new SimpleBootstrapPropertySource(p));
107107
}
108108
}
109-
logger.info("Located property source: " + sourceList);
109+
logger.info("Located property source. Property names: " + sourceList.stream().map(
110+
PropertySource::getName).collect(Collectors.toList()));
111+
logger.debug("Property values: " + sourceList.stream().map(
112+
PropertySource::getSource).collect(Collectors.toList()));
110113
composite.addAll(sourceList);
111114
empty = false;
112115
}

0 commit comments

Comments
 (0)