Updating log level in ObjectiveTracker
Change-Id: I51fb16022d0e32b0cc05715abc139fa7e9d8c689
diff --git a/core/net/src/main/java/org/onosproject/net/intent/impl/ObjectiveTracker.java b/core/net/src/main/java/org/onosproject/net/intent/impl/ObjectiveTracker.java
index 33f5a6e..62d67ed 100644
--- a/core/net/src/main/java/org/onosproject/net/intent/impl/ObjectiveTracker.java
+++ b/core/net/src/main/java/org/onosproject/net/intent/impl/ObjectiveTracker.java
@@ -374,14 +374,14 @@
for (Intent intent : intentService.getIntents()) {
try {
if (intentService.isLocal(intent.key())) {
- log.warn("intent {}, old: {}, new: {}",
+ log.trace("intent {}, old: {}, new: {}",
intent.key(), intentsByDevice.values().contains(intent.key()), true);
addTrackedResources(intent.key(), intent.resources());
intentService.getInstallableIntents(intent.key()).stream()
.forEach(installable ->
addTrackedResources(intent.key(), installable.resources()));
} else {
- log.warn("intent {}, old: {}, new: {}",
+ log.trace("intent {}, old: {}, new: {}",
intent.key(), intentsByDevice.values().contains(intent.key()), false);
removeTrackedResources(intent.key(), intent.resources());
intentService.getInstallableIntents(intent.key()).stream()
@@ -406,7 +406,7 @@
private final class InternalPartitionListener implements PartitionEventListener {
@Override
public void event(PartitionEvent event) {
- log.warn("got message {}", event.subject());
+ log.debug("got message {}", event.subject());
scheduleIntentUpdate(1);
}
}