diff options
author | Taka Cho <takamune.cho@att.com> | 2021-08-03 13:28:28 -0400 |
---|---|---|
committer | Taka Cho <takamune.cho@att.com> | 2021-08-06 13:13:13 -0400 |
commit | aabb9e500132bbcd639bc4b8bda34e8fde3a3676 (patch) | |
tree | 15d2d58f918ca30f0160c550fd1d2814d04d5816 /policy-management/src/main/java/org/onap/policy/drools/system/Main.java | |
parent | 1744dac574fb771301027be74c9257eb070125f7 (diff) |
Use slf4j Marker from common repo
using slf4j Marker from common repo
Issue-ID: POLICY-3087
Change-Id: Iefbd6fa9ab2dfa6388508cb6ffd6cf1358b45ccc
Signed-off-by: Taka Cho <takamune.cho@att.com>
Diffstat (limited to 'policy-management/src/main/java/org/onap/policy/drools/system/Main.java')
-rw-r--r-- | policy-management/src/main/java/org/onap/policy/drools/system/Main.java | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/policy-management/src/main/java/org/onap/policy/drools/system/Main.java b/policy-management/src/main/java/org/onap/policy/drools/system/Main.java index c28d4c96..e92d05d2 100644 --- a/policy-management/src/main/java/org/onap/policy/drools/system/Main.java +++ b/policy-management/src/main/java/org/onap/policy/drools/system/Main.java @@ -28,6 +28,7 @@ import org.onap.policy.common.endpoints.event.comm.TopicEndpointManager; import org.onap.policy.common.endpoints.http.client.HttpClientConfigException; import org.onap.policy.common.endpoints.http.client.HttpClientFactoryInstance; import org.onap.policy.common.endpoints.http.server.HttpServletServerFactoryInstance; +import org.onap.policy.common.utils.logging.LoggerUtils; import org.onap.policy.common.utils.resources.MessageConstants; import org.onap.policy.common.utils.security.CryptoUtils; import org.onap.policy.drools.persistence.SystemPersistenceConstants; @@ -142,7 +143,7 @@ public class Main { if (!success) { trans.setStatusCode(false).setResponseDescription("partial start").flush(); logger.warn( - LoggerUtil.TRANSACTION_LOG_MARKER, + LoggerUtils.TRANSACTION_LOG_MARKER, "Main: {} has been partially started", PolicyEngineConstants.getManager()); throw new PolicyDroolsPdpRuntimeException( @@ -157,7 +158,7 @@ public class Main { .setResponseDescription(e.getMessage()) .flush(); logger.warn( - LoggerUtil.TRANSACTION_LOG_MARKER, + LoggerUtils.TRANSACTION_LOG_MARKER, "Main: cannot start {} (bad state)", PolicyEngineConstants.getManager()); throw new PolicyDroolsPdpRuntimeException( @@ -169,7 +170,7 @@ public class Main { .setResponseDescription(e.getMessage()) .flush(); logger.warn( - LoggerUtil.TRANSACTION_LOG_MARKER, + LoggerUtils.TRANSACTION_LOG_MARKER, "Main: cannot start {}", PolicyEngineConstants.getManager()); throw new PolicyDroolsPdpRuntimeException( @@ -205,7 +206,7 @@ public class Main { .setResponseDescription(e.getMessage()) .flush(); logger.error( - LoggerUtil.TRANSACTION_LOG_MARKER, + LoggerUtils.TRANSACTION_LOG_MARKER, "Main: cannot instantiate policy-controller {}", controllerName); throw new PolicyDroolsPdpRuntimeException( @@ -217,7 +218,7 @@ public class Main { .setResponseDescription(e.getMessage()) .flush(); logger.warn( - LoggerUtil.TRANSACTION_LOG_MARKER, + LoggerUtils.TRANSACTION_LOG_MARKER, "Main: cannot instantiate policy-controller {} (linkage)", controllerName); throw new PolicyDroolsPdpRuntimeException( |