Brian O'Connor
Committed by Gerrit Code Review

Updating log level in ObjectiveTracker

Change-Id: I51fb16022d0e32b0cc05715abc139fa7e9d8c689
...@@ -374,14 +374,14 @@ public class ObjectiveTracker implements ObjectiveTrackerService { ...@@ -374,14 +374,14 @@ public class ObjectiveTracker implements ObjectiveTrackerService {
374 for (Intent intent : intentService.getIntents()) { 374 for (Intent intent : intentService.getIntents()) {
375 try { 375 try {
376 if (intentService.isLocal(intent.key())) { 376 if (intentService.isLocal(intent.key())) {
377 - log.warn("intent {}, old: {}, new: {}", 377 + log.trace("intent {}, old: {}, new: {}",
378 intent.key(), intentsByDevice.values().contains(intent.key()), true); 378 intent.key(), intentsByDevice.values().contains(intent.key()), true);
379 addTrackedResources(intent.key(), intent.resources()); 379 addTrackedResources(intent.key(), intent.resources());
380 intentService.getInstallableIntents(intent.key()).stream() 380 intentService.getInstallableIntents(intent.key()).stream()
381 .forEach(installable -> 381 .forEach(installable ->
382 addTrackedResources(intent.key(), installable.resources())); 382 addTrackedResources(intent.key(), installable.resources()));
383 } else { 383 } else {
384 - log.warn("intent {}, old: {}, new: {}", 384 + log.trace("intent {}, old: {}, new: {}",
385 intent.key(), intentsByDevice.values().contains(intent.key()), false); 385 intent.key(), intentsByDevice.values().contains(intent.key()), false);
386 removeTrackedResources(intent.key(), intent.resources()); 386 removeTrackedResources(intent.key(), intent.resources());
387 intentService.getInstallableIntents(intent.key()).stream() 387 intentService.getInstallableIntents(intent.key()).stream()
...@@ -406,7 +406,7 @@ public class ObjectiveTracker implements ObjectiveTrackerService { ...@@ -406,7 +406,7 @@ public class ObjectiveTracker implements ObjectiveTrackerService {
406 private final class InternalPartitionListener implements PartitionEventListener { 406 private final class InternalPartitionListener implements PartitionEventListener {
407 @Override 407 @Override
408 public void event(PartitionEvent event) { 408 public void event(PartitionEvent event) {
409 - log.warn("got message {}", event.subject()); 409 + log.debug("got message {}", event.subject());
410 scheduleIntentUpdate(1); 410 scheduleIntentUpdate(1);
411 } 411 }
412 } 412 }
......