aboutsummaryrefslogtreecommitdiffstats
path: root/reference
diff options
context:
space:
mode:
authorBrittany Plummer (bp896r) <bp896r@att.com>2019-10-23 12:05:13 -0400
committerBrittany Plummer <bp896r@att.com>2019-10-23 16:08:42 +0000
commit202a080c4f133352b28449ae2a183cade6ddbc00 (patch)
tree4ff1c211d5c62b2a7453284ff7d99c256fca4ec1 /reference
parentc37cf5007720355d43e6a56d1553172d54591f4a (diff)
Remove logging lines that are clogging up logs
Issue-ID: LOG-1176 Change-Id: Idc1854070e595fed0fc669b1e43445a3569a7841 Signed-off-by: Brittany Plummer (bp896r) <bp896r@att.com>
Diffstat (limited to 'reference')
-rw-r--r--reference/logging-filter/logging-filter-base/src/main/java/org/onap/logging/filter/base/MDCSetup.java4
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;
}
}