spring-cloud / spring-cloud/spring-cloud-commons
Displaying all the configuration in the log with info logger level
@siddhantsorann is already working on this.
Since Jun 7, 2021.
- Dominant language
- Java
- Stars
- 751
- Forks
- 744
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 9
Description
In org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration class, displaying all the properties read from config server using the below log statement. I think we can stop displaying all the properties read from configuration file or spring cloud config server which will get displayed in Kibana or Grafana dashoboard.
At least we can change the logger level to debug so that in the production logs, we don't see all the values.
Statement
logger.info("Located property source: " + sourceList);
Jar: spring-cloud-context-2.2.2.RELEASE.jar
Class: org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.