Skip to content

Commit eb1919b

Browse files
authored
chore: add both task ID and request ID to logger (#868)
1 parent a849541 commit eb1919b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/internal/infprocessor/infprocessor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ func (p *P) sendTask(
411411
log := logger.WithValues("id", t.id)
412412
val, ok := t.header[http.CanonicalHeaderKey(requestIDHeader)]
413413
if ok {
414-
log = logger.WithValues("requestID", val)
414+
log = log.WithValues("requestID", val)
415415
}
416416

417417
log.V(1).Info("Waiting for an initial response to the task")

0 commit comments

Comments
 (0)