Fixed the fix of the link feature

The targeting paramter has to be provided to the debug logmessage, too.