From e1329637a426b7e1cfc16a47186541655b1993f3 Mon Sep 17 00:00:00 2001 From: "Smokowski, Steve (ss835w)" Date: Tue, 4 Sep 2018 09:57:03 -0400 Subject: Add Marker Add Invoke_return Marker, Add missing MDC param for TargetEntity Issue-ID: LOG-641 Change-Id: Id1c25e314bbff010603b0459bcc38b8e3b73f6fd Signed-off-by: Smokowski, Steve (ss835w) --- .../src/main/java/org/onap/logging/ref/slf4j/ONAPLogConstants.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'reference/logging-slf4j/src/main/java/org/onap') 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 a359c82..52aeac5 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 @@ -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"; -- cgit 1.2.3-korg