Our Ops guys want the Spring boot configuration (i.e. all properties) to be dumped to the log file when the app starts. I assume this can be done by injecting the properties
If you use actuator , env
endpoint will give you all the configuration properties set in ConfigurableEnvironment
and configprops
will give you the list of @ConfigurationProperties
, but not in the log.
Take a look at the source code for this env
endpoint, may be it will give you an idea of how you could get all the properties you are interested in.