Enhanced poll(2) to log a result.