Document logging of startup info

Closes gh-19026
This commit is contained in:
Madhura Bhave 2019-11-26 15:25:59 -08:00
parent 01e0a27159
commit 49e111aef5
1 changed files with 4 additions and 0 deletions

View File

@ -42,7 +42,11 @@ When your application starts, you should see something similar to the following
By default, `INFO` logging messages are shown, including some relevant startup details, such as the user that launched the application.
If you need a log level other than `INFO`, you can set it, as described in <<boot-features-custom-log-levels>>.
The application version is determined using the implementation version from the main application class's package.
Startup information logging can be turned off by setting `spring.main.log-startup-info` to `false`.
This will also turn off logging of the application's active profiles.
TIP: To add additional logging during startup, you can override `logStartupInfo(boolean)` in a subclass of `SpringApplication`.
[[boot-features-startup-failure]]