This diff adds logging feature for debug.
* Add error message for ifname collision This changes introduce to validateIfName, to check the validation for interface name, i.e. same name among two or more interfaces.