aboutsummaryrefslogtreecommitdiffstats
path: root/reference/logging-slf4j
diff options
context:
space:
mode:
authorBrittany Plummer (bp896r) <bp896r@att.com>2019-11-13 10:58:36 -0500
committerBrittany Plummer (bp896r) <bp896r@att.com>2019-11-18 13:23:57 -0500
commitfbe7e0db7cc591990c379ac1516be7a4433fe01c (patch)
treeb5fbde74c5232b18da1a59f2e9dc42a5deac882b /reference/logging-slf4j
parent1a764c63f3055107b5f490146b3ab2919012f0aa (diff)
Split InvocationID into two MDC values
Issue-ID: LOG-1187 Change-Id: Ice156a1bb4665f747e46bc5305be547800f10c4c Signed-off-by: Brittany Plummer (bp896r) <bp896r@att.com>
Diffstat (limited to 'reference/logging-slf4j')
-rw-r--r--reference/logging-slf4j/pom.xml2
-rw-r--r--reference/logging-slf4j/src/main/java/org/onap/logging/ref/slf4j/ONAPLogConstants.java4
2 files changed, 5 insertions, 1 deletions
diff --git a/reference/logging-slf4j/pom.xml b/reference/logging-slf4j/pom.xml
index 6a3a6f3..756c86e 100644
--- a/reference/logging-slf4j/pom.xml
+++ b/reference/logging-slf4j/pom.xml
@@ -3,7 +3,7 @@
<parent>
<groupId>org.onap.logging-analytics</groupId>
<artifactId>logging-reference</artifactId>
- <version>1.6.2-SNAPSHOT</version>
+ <version>1.6.3-SNAPSHOT</version>
</parent>
<artifactId>logging-slf4j</artifactId>
<name>logging-slf4j</name>
diff --git a/reference/logging-slf4j/src/main/java/org/onap/logging/ref/slf4j/ONAPLogConstants.java b/reference/logging-slf4j/src/main/java/org/onap/logging/ref/slf4j/ONAPLogConstants.java
index 5357f40..48681e5 100644
--- a/reference/logging-slf4j/src/main/java/org/onap/logging/ref/slf4j/ONAPLogConstants.java
+++ b/reference/logging-slf4j/src/main/java/org/onap/logging/ref/slf4j/ONAPLogConstants.java
@@ -102,6 +102,10 @@ public final class ONAPLogConstants {
/** MDC correlating messages for an invocation. */
public static final String INVOCATION_ID = "InvocationID";
+
+ public static final String SERVER_INVOCATION_ID = "ServerInvocationId";
+
+ public static final String CLIENT_INVOCATION_ID = "ClientInvocationId";
/** MDC correlating messages for a logical transaction. */
public static final String REQUEST_ID = "RequestID";