Add some log messages for path calculation runtime related codes

Change-Id: I3337b1862db6f2a8afdafb74bc474c6cd648b762
diff --git a/src/main/java/net/onrc/onos/intent/runtime/PathCalcRuntime.java b/src/main/java/net/onrc/onos/intent/runtime/PathCalcRuntime.java
index 6ff92db..3de671e 100644
--- a/src/main/java/net/onrc/onos/intent/runtime/PathCalcRuntime.java
+++ b/src/main/java/net/onrc/onos/intent/runtime/PathCalcRuntime.java
@@ -45,6 +45,7 @@
 
 		// TODO optimize locking of NetworkGraph
 		graph.acquireReadLock();
+		log.debug("NetworkGraph: {}", graph.getLinks());
 
 		for (IntentOperation intentOp: intentOpList) {
 			switch (intentOp.operator) {
@@ -62,9 +63,10 @@
 				Switch srcSwitch = graph.getSwitch(spIntent.getSrcSwitchDpid());
 				Switch dstSwitch = graph.getSwitch(spIntent.getDstSwitchDpid());
 				if (srcSwitch == null || dstSwitch == null) {
-					log.error("Switch not found: {}, {}",
+					log.error("Switch not found. src:{}, dst:{}, NetworkGraph:{}",
 							spIntent.getSrcSwitchDpid(),
-							spIntent.getDstSwitchDpid());
+							spIntent.getDstSwitchDpid(),
+							graph.getLinks());
 					pathIntentOpList.add(Operator.ERROR, new ErrorIntent(
 							ErrorType.SWITCH_NOT_FOUND,
 							"Switch not found.",
@@ -87,7 +89,7 @@
 				}
 				Path path = tree.getPath(dstSwitch);
 				if (path == null) {
-					log.error("Path not found: {}", spIntent.toString());
+					log.error("Path not found. Intent: {}, NetworkGraph:{}", spIntent.toString(), graph.getLinks());
 					pathIntentOpList.add(Operator.ERROR, new ErrorIntent(
 							ErrorType.PATH_NOT_FOUND,
 							"Path not found.",