spring-cloud-commons icon indicating copy to clipboard operation
spring-cloud-commons copied to clipboard

Spring Cloud breaks log-startup-info default behavior

Open Adamovskiy opened this issue 5 years ago • 4 comments

By default Spring Boot prints application startup information with StartupInfoLogger. This default is declared in Spring Boot docs.

When adding Spring Cloud dependency, startup info logging becomes disabled by default. Now we need to explicitly set spring.main.log-startup-info to true in bootstrap.yml. I'd expect such a subtle side effect to be at least documented.

Adamovskiy avatar Nov 12 '19 09:11 Adamovskiy

Thanks for being so kind to open this issue. Which release train of Spring Cloud are you using? Can you provide a complete, minimal, verifiable sample that reproduces the problem? It should be available as a GitHub (or similar) project or attached to this issue as a zip file.

TYsewyn avatar Dec 11 '19 17:12 TYsewyn

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

spring-projects-issues avatar Dec 18 '19 18:12 spring-projects-issues

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.

spring-projects-issues avatar Dec 25 '19 18:12 spring-projects-issues

Hi. this issue is not reproduced on:

  • java 11
  • spring-boot 2.2.4
  • spring-cloud-commons 2.2.1.RELEASE

all startup information is writen in console:

Screenshot 2020-02-21 at 21 35 37

kokhanchyk avatar Feb 21 '20 19:02 kokhanchyk