Browse Source

Merge branch '2.4.x'

Closes gh-25039
pull/25048/head
Phillip Webb 5 years ago
parent
commit
802da9dc87
  1. 4
      spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc

4
spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc

@ -535,6 +535,10 @@ On your application classpath (for example, inside your jar) you can have an `ap @@ -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]]

Loading…
Cancel
Save