Commit 7265484d authored by Phillip Webb's avatar Phillip Webb

Merge pull request #24336 from wesuga

* pr/24336:
  Polish 'Add a tip about actuator endpoints'
  Add a tip about actuator endpoints

Closes gh-24336
parents a4e6a3cf 60bb33f2
...@@ -496,6 +496,10 @@ On your application classpath (for example, inside your jar) you can have an `ap ...@@ -496,6 +496,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`. 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"`). 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.
Spring Boot also supports wildcard locations when loading configuration files. Spring Boot also supports wildcard locations when loading configuration files.
By default, a wildcard location of `config/*/` outside of your jar is supported. By default, a wildcard location of `config/*/` outside of your jar is supported.
Wildcard locations are also supported when specifying `spring.config.additional-location` and `spring.config.location`. Wildcard locations are also supported when specifying `spring.config.additional-location` and `spring.config.location`.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment