aboutsummaryrefslogtreecommitdiffstats
path: root/common-logging/src/main/java/org/onap/policy/common/logging/flexlogger/EelfLogger.java
diff options
context:
space:
mode:
authormmis <michael.morris@ericsson.com>2018-02-27 14:05:23 +0000
committermmis <michael.morris@ericsson.com>2018-02-27 17:39:15 +0000
commita969489e138c6fa44d468f05e8b27860c26c7578 (patch)
tree0f5e9b85d19572bb3761435d950fd0f9b9f4f403 /common-logging/src/main/java/org/onap/policy/common/logging/flexlogger/EelfLogger.java
parentcfb9b5f1cfe7d5c319312d8d067ae4c2a8d8d93c (diff)
Added junit tests in ONAP-Logging
Added junit tests to org.onap.policy.common.logging.flexlogger package in ONAP-Logging Issue-ID: POLICY-582 Change-Id: I024f990960fa71bff7655da9c2cd5dd0db8ee33c Signed-off-by: mmis <michael.morris@ericsson.com>
Diffstat (limited to 'common-logging/src/main/java/org/onap/policy/common/logging/flexlogger/EelfLogger.java')
-rw-r--r--common-logging/src/main/java/org/onap/policy/common/logging/flexlogger/EelfLogger.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/common-logging/src/main/java/org/onap/policy/common/logging/flexlogger/EelfLogger.java b/common-logging/src/main/java/org/onap/policy/common/logging/flexlogger/EelfLogger.java
index ff097edf..07ef5626 100644
--- a/common-logging/src/main/java/org/onap/policy/common/logging/flexlogger/EelfLogger.java
+++ b/common-logging/src/main/java/org/onap/policy/common/logging/flexlogger/EelfLogger.java
@@ -107,6 +107,7 @@ public class EelfLogger implements Logger, Serializable {
className = clazz.getName();
}
PolicyLogger.postMDCInfoForEvent(transId);
+ this.transId = transId;
}
/**
@@ -119,6 +120,7 @@ public class EelfLogger implements Logger, Serializable {
className = s;
}
PolicyLogger.postMDCInfoForEvent(transId);
+ this.transId = transId;
}
/**