spring-cloud / spring-cloud/spring-cloud-commons

Spring Cloud breaks log-startup-info default behavior

Open
#635 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Java
Stars
751
Forks
744
Avg merge
1d 14h
Merged PRs (30d)
9

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the Spring Boot documentation for SpringApplicationBuilder.logStartupInfo(boolean) and the bootstrap.yml setting spring.main.log-startup-info. Document that adding Spring Cloud disables startup information logging by default, including the explicit true setting needed to restore it.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring, spring-boot
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.