Redirecting Caught and Uncaught Exceptions to OSGI Console and Log File
[controller.git] / opendaylight / protocol_plugins / openflow / src / main / java / org / opendaylight / controller / protocol_plugin / openflow / internal / InventoryService.java
index e7132597ec3ed4d4ffabaa46e2544ccceb761fe9..d00cd58c59b952b4c711ba9d215f745839e5e532 100644 (file)
@@ -143,7 +143,7 @@ public class InventoryService implements IInventoryShimInternalListener,
         try {
             node = new Node(NodeIDType.OPENFLOW, id);
         } catch (ConstructionException e) {
-            e.printStackTrace();
+            logger.error("",e);
         }
 
         return node;