Skip to content

SPR-15218 - Add logging to processPropertySource() (Obvious Fix) - #1313

Closed
amdw wants to merge 2 commits into
spring-projects:masterfrom
amdw:master
Closed

amdw wants to merge 2 commits into
spring-projects:masterfrom
amdw:master

Conversation

@amdw

@amdw amdw commented Feb 3, 2017

Copy link
Copy Markdown

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

jhoeller commented Feb 8, 2017

Copy link
Copy Markdown
Contributor

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