Fixing logger for IntentCleanup
Change-Id: Id51fe14b87aaa14da5d5097aca83b8ed397b902c
diff --git a/core/net/src/main/java/org/onosproject/net/intent/impl/IntentCleanup.java b/core/net/src/main/java/org/onosproject/net/intent/impl/IntentCleanup.java
index d84105c..46a65ac 100644
--- a/core/net/src/main/java/org/onosproject/net/intent/impl/IntentCleanup.java
+++ b/core/net/src/main/java/org/onosproject/net/intent/impl/IntentCleanup.java
@@ -56,7 +56,7 @@
@Component(immediate = true)
public class IntentCleanup implements Runnable, IntentListener {
- private static final Logger log = getLogger(IntentManager.class);
+ private static final Logger log = getLogger(IntentCleanup.class);
private static final int DEFAULT_PERIOD = 5; //seconds
private static final int DEFAULT_THRESHOLD = 5; //tries
@@ -68,7 +68,7 @@
@Property(name = "retryThreshold", intValue = DEFAULT_THRESHOLD,
label = "Number of times to retry CORRUPT intent without delay")
- private int retryThreshold = DEFAULT_THRESHOLD;
+ protected int retryThreshold = DEFAULT_THRESHOLD;
@Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY)
protected IntentService service;