diff --git a/pkg/log/log.go b/pkg/log/log.go index aeec5421..70b6cd4f 100644 --- a/pkg/log/log.go +++ b/pkg/log/log.go @@ -43,7 +43,7 @@ const TraceLevel = logrus.TraceLevel type Entry = logrus.Entry func FieldsFromContext(ctx context.Context) *logrus.Entry { - entry := logrus.FieldsFromContext(ctx) + entry := logrus.WithContext(ctx) for _, key := range registeredKeys { if value := ctx.Value(key); value != nil {