Bug 5077: Codes break the security rules
[nemo.git] / nemo-impl / src / main / java / org / opendaylight / nemo / intent / computation / PNResourcesTracker.java
index 3308797b9808d728a8d401366b1928ab4af0a62f..a6a9f44b52628b36566084321b2de6897f76aa67 100644 (file)
@@ -129,9 +129,13 @@ public class PNResourcesTracker {
             if (physicalResources.contains(resourceId)) {\r
                 physicalResourceMap.remove(userId);\r
                 try {\r
+                    log.info("Physical network changed and affected the virtual network of " +\r
+                            "user {}, start remapping.", userId.getValue());\r
+\r
                     intentResolver.resolveIntent(userId);\r
                 } catch (Exception e) {\r
-                    e.printStackTrace();\r
+                    // TODO Auto-generated catch block\r
+                    log.error("Exception:",e);\r
                 }\r
             }\r
         }\r