diff --git a/service/internal/executor/executor.go b/service/internal/executor/executor.go index fa98b77..4c39199 100644 --- a/service/internal/executor/executor.go +++ b/service/internal/executor/executor.go @@ -286,6 +286,9 @@ func (e *Executor) ExecRequest(req *ExecutionRequest) (*sync.WaitGroup, string) req.TrackingID = uuid.NewString() } + // Update the log entry with the final tracking ID + req.logEntry.ExecutionTrackingID = req.TrackingID + log.Tracef("executor.ExecRequest(): %v", req) e.SetLog(req.TrackingID, req.logEntry)