Reputation: 12023
I am confused here: in the documentation on the properties section there is an example on how to modify stuff in application.properties
spring.main.web_environment=false
spring.main.show_banner=false
Note that the above uses the "=" sign to apply values to the properties
In the spring-boot documentation in the logging section there is an example on how to modify logg levels
ogging.level.org.springframework.web: DEBUG
logging.level.org.hibernate: ERROR
Note that the above uses the ":" sign to apply values to the properties
Upvotes: 3
Views: 4553
Reputation: 58094
From the javadoc of java.util.Properties
:
The key contains all of the characters in the line starting with the first non-white space character and up to, but not including, the first unescaped '=', ':', or white space character other than a line terminator.
Upvotes: 3