-
Notifications
You must be signed in to change notification settings - Fork 369
Added logging to AWSParameterStorePropertySource #529
Added logging to AWSParameterStorePropertySource #529
Conversation
@cschroed-usgs Please sign the Contributor License Agreement! Click here to manually synchronize the status of this Pull Request. See the FAQ for frequently asked questions. |
According to https://cla.pivotal.io/about#obvious-fixes , contributions of "Logging messages or debug output" don't require signing a CLA. |
@pivotal-issuemaster This is an Obvious Fix |
@cschroed-usgs Thank you for signing the Contributor License Agreement! |
I signed the CLA anyway because I'm a US federal employee and the same page says I should.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for contribution! Small thing: unnecessary string concatenation should be avoided.
@@ -61,6 +61,7 @@ public void init() { | |||
|
|||
@Override | |||
public Object getProperty(String name) { | |||
logger.trace("getting property: " + name); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
logger.trace("getting property: " + name); | |
logger.trace("Getting property: {}", name); |
@@ -69,6 +70,7 @@ private void getParameters(GetParametersByPathRequest paramsRequest) { | |||
.getParametersByPath(paramsRequest); | |||
for (Parameter parameter : paramsResult.getParameters()) { | |||
String key = parameter.getName().replace(context, "").replace('/', '.'); | |||
logger.debug("setting property: " + key); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
logger.debug("setting property: " + key); | |
logger.debug("Setting property: {}", key); |
Closes spring-atticgh-529 Fixes spring-atticgh-509 Fixes spring-atticgh-527 Co-authored-by: Maciej Walkowiak <[email protected]>
Closes spring-atticgh-529 Fixes spring-atticgh-509 Fixes spring-atticgh-527 Co-authored-by: Maciej Walkowiak <[email protected]>
Closes spring-atticgh-529 Fixes spring-atticgh-509 Fixes spring-atticgh-527 Co-authored-by: Maciej Walkowiak <[email protected]>
Closes spring-atticgh-529 Fixes spring-atticgh-509 Fixes spring-atticgh-527 Co-authored-by: Maciej Walkowiak <[email protected]>
Closes spring-attic#529 Fixes spring-attic#509 Fixes spring-attic#527 Co-authored-by: Maciej Walkowiak <[email protected]>
Closes spring-attic#529 Fixes spring-attic#509 Fixes spring-attic#527 Co-authored-by: Maciej Walkowiak <[email protected]>
Addresses #509 and #527
public domain