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/feature-controlloop-utils/src/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/feature-controlloop-utils/src/test')
-rw-r--r-- | controlloop/common/feature-controlloop-utils/src/test/java/org/onap/policy/drools/apps/controlloop/feature/utils/ControlLoopUtilsFeatureTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/controlloop/common/feature-controlloop-utils/src/test/java/org/onap/policy/drools/apps/controlloop/feature/utils/ControlLoopUtilsFeatureTest.java b/controlloop/common/feature-controlloop-utils/src/test/java/org/onap/policy/drools/apps/controlloop/feature/utils/ControlLoopUtilsFeatureTest.java index db0c7a4ef..069b370b6 100644 --- a/controlloop/common/feature-controlloop-utils/src/test/java/org/onap/policy/drools/apps/controlloop/feature/utils/ControlLoopUtilsFeatureTest.java +++ b/controlloop/common/feature-controlloop-utils/src/test/java/org/onap/policy/drools/apps/controlloop/feature/utils/ControlLoopUtilsFeatureTest.java @@ -24,8 +24,8 @@ import static org.junit.Assert.assertNotNull; import org.junit.Test; import org.onap.policy.common.endpoints.http.server.HttpServletServerFactoryInstance; +import org.onap.policy.common.utils.logging.LoggerUtils; import org.onap.policy.drools.system.PolicyEngineConstants; -import org.onap.policy.drools.utils.logging.LoggerUtil; import org.onap.policy.simulators.Util; /** @@ -35,8 +35,8 @@ public class ControlLoopUtilsFeatureTest { @Test public void testSimulate() { - LoggerUtil.setLevel("ROOT", "INFO"); - LoggerUtil.setLevel("org.eclipse.jetty", "WARN"); + LoggerUtils.setLevel("ROOT", "INFO"); + LoggerUtils.setLevel("org.eclipse.jetty", "WARN"); final ControlLoopUtilsFeature feature = new ControlLoopUtilsFeature(); feature.afterStart(PolicyEngineConstants.getManager()); assertNotNull(HttpServletServerFactoryInstance.getServerFactory().get(Util.AAISIM_SERVER_PORT)); |