1 | initial version |
Yes, one can identify if a property value has been overwritten in Spring Boot by following these steps:
logging.level.org.springframework.boot.autoconfigure=DEBUG
Start the application and look for the property values in the log output.
If a value is overwritten, it will appear in the log output with the prefix "Overriding property".
Additionally, one can use the Spring Boot Actuator endpoint /configprops
to see all the properties and their sources. If a property has been overwritten, its source will be different from the default source.
http://localhost:8080/actuator/configprops