diff options
author | Pierre Rioux <pierre.rioux@amdocs.com> | 2019-10-23 16:29:04 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-10-23 16:29:04 +0000 |
commit | e031e26f3706da01ebc7717f9149807e6d486654 (patch) | |
tree | ba9ca052253f6e012c183555f9a1172bacc5694d /reference/logging-filter/logging-filter-base | |
parent | d9007cf3b750e8bd2fe004c09ec6037083d6d22d (diff) | |
parent | 202a080c4f133352b28449ae2a183cade6ddbc00 (diff) |
Merge "Remove logging lines that are clogging up logs"
Diffstat (limited to 'reference/logging-filter/logging-filter-base')
-rw-r--r-- | reference/logging-filter/logging-filter-base/src/main/java/org/onap/logging/filter/base/MDCSetup.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/reference/logging-filter/logging-filter-base/src/main/java/org/onap/logging/filter/base/MDCSetup.java b/reference/logging-filter/logging-filter-base/src/main/java/org/onap/logging/filter/base/MDCSetup.java index c3391e9..d0caa46 100644 --- a/reference/logging-filter/logging-filter-base/src/main/java/org/onap/logging/filter/base/MDCSetup.java +++ b/reference/logging-filter/logging-filter-base/src/main/java/org/onap/logging/filter/base/MDCSetup.java @@ -236,14 +236,10 @@ public class MDCSetup { } public String getProperty(String property) { - logger.info("Checking for system property [{}]", property); String propertyValue = System.getProperty(property); if (propertyValue == null || propertyValue.isEmpty()) { - logger.info("System property was null or empty. Checking environment variable for: {}", property); propertyValue = System.getenv(property); if (propertyValue == null || propertyValue.isEmpty()) { - logger.info("Environment variable: {} was null or empty. Returning value: {}", property, - Constants.DefaultValues.UNKNOWN); propertyValue = Constants.DefaultValues.UNKNOWN; } } |