logging issues in elanmanager
[netvirt.git] / elanmanager / impl / src / main / java / org / opendaylight / netvirt / elan / cli / StaticMacAdd.java
index 932eab57eeb086709701696958c51a734930faef..22aeedae41d89166b6c29a79f03a1c18dd366ea0 100644 (file)
@@ -32,10 +32,10 @@ public class StaticMacAdd extends OsgiCommandSupport {
     }
 
     @Override
-    protected Object doExecute() throws Exception {
-        LOG.debug("Executing create ElanInterface command" + "\t" + elanName + "\t" + interfaceName + "\t"
-                + staticMacAddress + "\t");
-        elanProvider.addStaticMacAddress(elanName, interfaceName, staticMacAddress);
+    protected Object doExecute() {
+        LOG.debug("Executing static mac add command for elanName:{}, interfaceName:{}, staticMacAddress:{}",
+                elanName, interfaceName, staticMacAddress);
+        elanProvider.addStaticMacAddress(interfaceName, staticMacAddress);
         return null;
     }
 }