diff options
author | Smokowski, Steve (ss835w) <ss835w@us.att.com> | 2018-09-04 09:57:03 -0400 |
---|---|---|
committer | Smokowski, Steve (ss835w) <ss835w@us.att.com> | 2018-09-04 10:01:25 -0400 |
commit | e1329637a426b7e1cfc16a47186541655b1993f3 (patch) | |
tree | 6f0af97cea6df67a81b592c3e47a84d2b2bf7970 /reference/logging-slf4j/src/main/java/org | |
parent | 7e1d40b6f91c4da5b52ef98a27f938ccc6229baf (diff) |
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) <ss835w@us.att.com>
Diffstat (limited to 'reference/logging-slf4j/src/main/java/org')
-rw-r--r-- | reference/logging-slf4j/src/main/java/org/onap/logging/ref/slf4j/ONAPLogConstants.java | 6 |
1 files changed, 6 insertions, 0 deletions
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"; |