Skip to content

Conversation

@amdw
Copy link

@amdw amdw commented Feb 3, 2017

This change set amends ConfigurationClassParser.processPropertySource() to log a message at debug level when a PropertySource with ignoreResourceNotFound = true cannot be loaded for any reason.

Detailed justification for this change, including a link to an illustrative project, may be found on the JIRA:

https://jira.spring.io/browse/SPR-15218

I believe this qualifies as an "obvious fix" which does not require a CLA signature according to the following document:

https://cla.pivotal.io/about#obvious-fixes

amdw added 2 commits February 3, 2017 11:30
Log at debug level if property source cannot be processed and
ignoreResourceNotFound = true.

Issue: SPR-15218
@snicoll snicoll changed the title Add logging to processPropertySource() (Obvious Fix) SPR-15218 - Add logging to processPropertySource() (Obvious Fix) Feb 3, 2017
@jhoeller
Copy link
Contributor

jhoeller commented Feb 8, 2017

I've adopted your suggestion in a slightly different fashion, including alignment with PropertiesLoaderSupport (as used by <context:property-placeholder>). Thanks for raising this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants