Merge branch '2.4.x'

Closes gh-25039
This commit is contained in:
Phillip Webb 2021-01-28 18:01:06 -08:00
commit 802da9dc87
1 changed files with 4 additions and 0 deletions

View File

@ -535,6 +535,10 @@ On your application classpath (for example, inside your jar) you can have an `ap
When running in a new environment, an `application.properties` file can be provided outside of your jar that overrides the `name`.
For one-off testing, you can launch with a specific command line switch (for example, `java -jar app.jar --name="Spring"`).
TIP: The `env` and `configprops` endpoints can be useful in determining why a property has a particular value.
You can use these two endpoints to diagnose unexpected property values.
See the "<<production-ready-features.adoc#production-ready-endpoints, Production ready features>>" section for details.
[[boot-features-external-config-command-line-args]]