From 19df65dd04f8f3bd8f76bdf3e061a6d242ed3c69 Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Wed, 02 Oct 2013 14:39:39 +0000
Subject: [PATCH] Fix OPENDJ-176 - Use SLF4J for logging in the SDK Review CR-2404
---
opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldap/ConnectionFactoryTestCase.java | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldap/ConnectionFactoryTestCase.java b/opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldap/ConnectionFactoryTestCase.java
index bc49974..590268a 100644
--- a/opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldap/ConnectionFactoryTestCase.java
+++ b/opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldap/ConnectionFactoryTestCase.java
@@ -71,7 +71,6 @@
import org.testng.annotations.Test;
import com.forgerock.opendj.util.CompletedFutureResult;
-import com.forgerock.opendj.util.StaticUtils;
/**
* Tests the {@code ConnectionFactory} classes.
@@ -120,7 +119,7 @@
*/
@BeforeClass()
public void disableLogging() {
- StaticUtils.DEBUG_LOG.setLevel(Level.SEVERE);
+ setDefaultLogLevel(Level.SEVERE);
}
/**
@@ -128,7 +127,7 @@
*/
@AfterClass()
public void enableLogging() {
- StaticUtils.DEBUG_LOG.setLevel(Level.INFO);
+ setDefaultLogLevel(Level.INFO);
}
@DataProvider
--
Gitblit v1.10.0