diff options
author | Taka Cho <takamune.cho@att.com> | 2021-08-09 17:13:55 -0400 |
---|---|---|
committer | Taka Cho <takamune.cho@att.com> | 2021-08-09 17:15:39 -0400 |
commit | 1d89d390bf0ba05c7953f19d1dd4c48cebed7b24 (patch) | |
tree | b3d145344752267533e1d05b73a92c9b7ba36bc5 /controlloop/common/rules-test | |
parent | 3da1395bc41159cb8d1f417c19b34bd9638aedbe (diff) |
refactor to use common.utils.logging
using utils.logging from common repo
Issue-ID: POLICY-3087
Change-Id: I60fb7eb47e38ae776f1d23926b551667c555700a
Signed-off-by: Taka Cho <takamune.cho@att.com>
Diffstat (limited to 'controlloop/common/rules-test')
-rw-r--r-- | controlloop/common/rules-test/src/main/java/org/onap/policy/controlloop/common/rules/test/Rules.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/controlloop/common/rules-test/src/main/java/org/onap/policy/controlloop/common/rules/test/Rules.java b/controlloop/common/rules-test/src/main/java/org/onap/policy/controlloop/common/rules/test/Rules.java index 06eab0d88..09eb58d5a 100644 --- a/controlloop/common/rules-test/src/main/java/org/onap/policy/controlloop/common/rules/test/Rules.java +++ b/controlloop/common/rules-test/src/main/java/org/onap/policy/controlloop/common/rules/test/Rules.java @@ -48,6 +48,7 @@ import org.kie.api.event.rule.RuleRuntimeEventListener; import org.kie.api.runtime.KieSession; import org.onap.policy.common.utils.coder.CoderException; import org.onap.policy.common.utils.coder.StandardCoder; +import org.onap.policy.common.utils.logging.LoggerUtils; import org.onap.policy.common.utils.resources.ResourceUtils; import org.onap.policy.controlloop.ControlLoopEvent; import org.onap.policy.controlloop.drl.legacy.ControlLoopParams; @@ -61,7 +62,6 @@ import org.onap.policy.drools.system.PolicyControllerFactory; import org.onap.policy.drools.system.PolicyEngine; import org.onap.policy.drools.system.PolicyEngineConstants; import org.onap.policy.drools.util.KieUtils; -import org.onap.policy.drools.utils.logging.LoggerUtil; import org.onap.policy.models.tosca.authorative.concepts.ToscaPolicy; import org.onap.policy.models.tosca.authorative.concepts.ToscaServiceTemplate; import org.slf4j.Logger; @@ -257,10 +257,10 @@ public class Rules { * Sets up overall logging. */ private void setupLogging() { - LoggerUtil.setLevel(LoggerUtil.ROOT_LOGGER, "WARN"); - LoggerUtil.setLevel("org.eclipse.jetty", "WARN"); - LoggerUtil.setLevel("org.onap.policy.controlloop", "INFO"); - LoggerUtil.setLevel("network", "INFO"); + LoggerUtils.setLevel(LoggerUtils.ROOT_LOGGER, "WARN"); + LoggerUtils.setLevel("org.eclipse.jetty", "WARN"); + LoggerUtils.setLevel("org.onap.policy.controlloop", "INFO"); + LoggerUtils.setLevel("network", "INFO"); } /** |