Added debug logging for event forwarding