Fix a bug: Correct the class name when creating the logger.
Change-Id: If457cfa3b99ad31f3d6d185e1f5e3bf07d34d157
diff --git a/src/main/java/net/onrc/onos/core/intent/runtime/PersistIntent.java b/src/main/java/net/onrc/onos/core/intent/runtime/PersistIntent.java
index 1b34419..f27c855 100755
--- a/src/main/java/net/onrc/onos/core/intent/runtime/PersistIntent.java
+++ b/src/main/java/net/onrc/onos/core/intent/runtime/PersistIntent.java
@@ -6,7 +6,6 @@
import java.util.Arrays;
import java.util.concurrent.atomic.AtomicLong;
-import net.onrc.onos.core.datagrid.web.IntentResource;
import net.onrc.onos.core.datastore.DataStoreClient;
import net.onrc.onos.core.datastore.IKVTable;
import net.onrc.onos.core.datastore.ObjectExistsException;
@@ -25,7 +24,7 @@
* @author nickkaranatsios
*/
public class PersistIntent {
- private static final Logger log = LoggerFactory.getLogger(IntentResource.class);
+ private static final Logger log = LoggerFactory.getLogger(PersistIntent.class);
private long range = 10000L;
private final IControllerRegistryService controllerRegistry;
private static final String INTENT_JOURNAL = "G:IntentJournal";