Yuta HIGUCHI

Added debug log

Change-Id: Icc86bb91a382fd2d9bb013b9d6d30e0f45ffad74
...@@ -148,7 +148,9 @@ public class ObjectiveTracker implements ObjectiveTrackerService { ...@@ -148,7 +148,9 @@ public class ObjectiveTracker implements ObjectiveTrackerService {
148 if (reason instanceof LinkEvent) { 148 if (reason instanceof LinkEvent) {
149 LinkEvent linkEvent = (LinkEvent) reason; 149 LinkEvent linkEvent = (LinkEvent) reason;
150 if (linkEvent.type() == LINK_REMOVED) { 150 if (linkEvent.type() == LINK_REMOVED) {
151 - Set<IntentId> intentIds = intentsByLink.get(linkKey(linkEvent.subject())); 151 + final LinkKey linkKey = linkKey(linkEvent.subject());
152 + Set<IntentId> intentIds = intentsByLink.get(linkKey);
153 + log.debug("recompile triggered by LinkDown {} {}", linkKey, intentIds);
152 toBeRecompiled.addAll(intentIds); 154 toBeRecompiled.addAll(intentIds);
153 } 155 }
154 recompileOnly = recompileOnly && linkEvent.type() == LINK_REMOVED; 156 recompileOnly = recompileOnly && linkEvent.type() == LINK_REMOVED;
......