Add Marker 39/64439/2
authorSmokowski, Steve (ss835w) <ss835w@us.att.com>
Tue, 4 Sep 2018 13:57:03 +0000 (09:57 -0400)
committerSmokowski, Steve (ss835w) <ss835w@us.att.com>
Tue, 4 Sep 2018 14:01:25 +0000 (10:01 -0400)
Add Invoke_return Marker, Add missing MDC param for TargetEntity

Issue-ID: LOG-641

Change-Id: Id1c25e314bbff010603b0459bcc38b8e3b73f6fd
Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
reference/logging-slf4j/src/main/java/org/onap/logging/ref/slf4j/ONAPLogConstants.java

index a359c82..52aeac5 100644 (file)
@@ -57,6 +57,9 @@ public final class ONAPLogConstants {
 
         /** Marker reporting invocation. */
         public static final Marker INVOKE = MarkerFactory.getMarker("INVOKE");
+        
+        /** Marker reporting invocation. */
+        public static final Marker INVOKE_RETURN = MarkerFactory.getMarker("INVOKE_RETURN");
 
         /** Marker reporting synchronous invocation. */
         public static final Marker INVOKE_SYNCHRONOUS = build("INVOKE", "SYNCHRONOUS");
@@ -111,6 +114,9 @@ public final class ONAPLogConstants {
 
         /** MDC recording target service. */
         public static final String TARGET_SERVICE_NAME = "TargetServiceName";
+        
+        /** MDC recording target entity. */
+        public static final String TARGET_ENTITY = "TargetEntity";
 
         /** MDC recording current service instance. */
         public static final String INSTANCE_UUID = "InstanceUUID";