Skip to content

Commit 7265484

Browse files
committed
Merge pull request #24336 from wesuga
* pr/24336: Polish 'Add a tip about actuator endpoints' Add a tip about actuator endpoints Closes gh-24336
2 parents a4e6a3c + 60bb33f commit 7265484

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,10 @@ On your application classpath (for example, inside your jar) you can have an `ap
496496
When running in a new environment, an `application.properties` file can be provided outside of your jar that overrides the `name`.
497497
For one-off testing, you can launch with a specific command line switch (for example, `java -jar app.jar --name="Spring"`).
498498

499+
TIP: The `env` and `configprops` endpoints can be useful in determining why a property has a particular value.
500+
You can use these two endpoints to diagnose unexpected property values.
501+
See the "<<production-ready-features.adoc#production-ready-endpoints, Production ready features>>" section for details.
502+
499503
Spring Boot also supports wildcard locations when loading configuration files.
500504
By default, a wildcard location of `config/*/` outside of your jar is supported.
501505
Wildcard locations are also supported when specifying `spring.config.additional-location` and `spring.config.location`.

0 commit comments

Comments
 (0)