OPNFLWPLUG-1032: Neon-MRI: Bump odlparent, yangtools, mdsal
[openflowplugin.git] / test-provider / src / main / java / org / opendaylight / openflowplugin / test / FlowEventListenerLoggingImpl.java
index ae2f8d6b3aa1dd15b70a0543fc92cef05b437b45..e6b610e34fbfa6c30a574294ac6fca4724090d0a 100644 (file)
@@ -27,23 +27,20 @@ public class FlowEventListenerLoggingImpl implements SalFlowListener {
 
     @Override
     public void onFlowAdded(FlowAdded notification) {
-        LOG.info("flow to be added.........................." + notification.toString());
-        LOG.info("added flow Xid........................." + notification.getTransactionId().getValue());
-        LOG.info("-----------------------------------------------------------------------------------");
+        LOG.info("flow to be added {}", notification.toString());
+        LOG.info("added flow Xid {}", notification.getTransactionId().getValue());
     }
 
     @Override
     public void onFlowRemoved(FlowRemoved notification) {
-        LOG.debug("removed flow.........................." + notification.toString());
-        LOG.debug("remove flow Xid........................." + notification.getTransactionId().getValue());
-        LOG.debug("-----------------------------------------------------------------------------------");
+        LOG.debug("removed flow {}", notification.toString());
+        LOG.debug("remove flow Xid {}", notification.getTransactionId().getValue());
     }
 
     @Override
     public void onFlowUpdated(FlowUpdated notification) {
-        LOG.debug("updated flow.........................." + notification.toString());
-        LOG.debug("updated flow Xid........................." + notification.getTransactionId().getValue());
-        LOG.debug("-----------------------------------------------------------------------------------");
+        LOG.debug("updated flow {}", notification.toString());
+        LOG.debug("updated flow Xid {}", notification.getTransactionId().getValue());
     }
 
     @Override
@@ -66,8 +63,6 @@ public class FlowEventListenerLoggingImpl implements SalFlowListener {
 
     @Override
     public void onSwitchFlowRemoved(SwitchFlowRemoved notification) {
-        LOG.debug("Switch flow removed : Cookies..................."
-                + notification.getCookie().toString());
-        LOG.debug("-----------------------------------------------------------------------------------");
+        LOG.debug("Switch flow removed : Cookies {}", notification.getCookie().toString());
     }
 }