Returns a created WaitingCommandActionInfo instance so that the caller can get the log ID.