Fixing logging
Check for config method instead of interface name