-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
What happened:
The trace_id between requests is getting mixed up.
What you expected to happen:
The trace_id
between requests is independent.
How to reproduce it (as minimally and precisely as possible):
Use a log.Filter
as the global logger
and enable both tracing.Server()
and logging.Server()
middlewares.
Anything else we need to know?:
this is cauased by log.WithContext()
.
Line 65 in 6cdd818
f.ctx = ctx |
Environment:
- Kratos version (use
kratos -v
): v2.6.3 - Go version (use
go version
): 1.20
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested