Fixed validation bug of YANG import statement
[controller.git] / opendaylight / forwardingrulesmanager / src / main / java / org / opendaylight / controller / forwardingrulesmanager / FlowConfig.java
index aa7578ba77119fdd54865cfc8c2a590f29a4cd31..bf5062985dbcca8a0e5060f4a8243659edca6550 100644 (file)
@@ -608,15 +608,14 @@ public class FlowConfig implements Serializable {
                         }
                     }
 
-                    log.debug("Get Nexthop address = " + address + " Type = "
-                            + setNHType.toString());
+                    log.debug("Get Nexthop address = {} Type = {}", address, setNHType.toString());
                     if (setNHType == SetNextHopType.RESOLVE_L2RW) {
                         try {
                             return InetAddress.getByName(address);
                         } catch (Exception e) {
                             log
-                                    .debug("Exception during nextHopAddress resolution : "
-                                            + e.getMessage());
+                                    .debug("Exception during nextHopAddress resolution : ",
+                                            e);
                         }
                     }
                 }