spring-framework / org.springframework.beans.factory.config / PropertyOverrideConfigurer / setIgnoreInvalidKeys

setIgnoreInvalidKeys

open fun setIgnoreInvalidKeys(ignoreInvalidKeys: Boolean): Unit

Set whether to ignore invalid keys. Default is "false".

If you ignore invalid keys, keys that do not follow the 'beanName.property' format (or refer to invalid bean names or properties) will just be logged at debug level. This allows one to have arbitrary other keys in a properties file.