replaced print with logging in plugin iface