From 74c770609ce5fbe3259c6b56048e0beb41d35dad Mon Sep 17 00:00:00 2001 From: Alisdair MacLeod Date: Thu, 29 Jan 2026 09:33:23 +0000 Subject: [PATCH] fix access log context cancelled --- proxy/internal/accesslog/logger.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/internal/accesslog/logger.go b/proxy/internal/accesslog/logger.go index a51413cea..dc43007e0 100644 --- a/proxy/internal/accesslog/logger.go +++ b/proxy/internal/accesslog/logger.go @@ -48,7 +48,7 @@ func (l *Logger) log(ctx context.Context, entry logEntry) { // allow for resolving that on the server. now := timestamppb.Now() // Grab the timestamp before launching the goroutine to try to prevent weird timing issues. This is probably unnecessary. go func() { - if _, err := l.client.SendAccessLog(ctx, &proto.SendAccessLogRequest{ + if _, err := l.client.SendAccessLog(context.Background(), &proto.SendAccessLogRequest{ Log: &proto.AccessLog{ Timestamp: now, ServiceId: entry.ServiceId,