You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's reorganize the issue. Your problem is that after using the log filter, cannot be printed trace_id? Can a minimum replication environment be provided
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 loggerand enable both
tracing.Server()
andlogging.Server()
middlewares.Anything else we need to know?:
this is cauased by
log.WithContext()
.kratos/log/log.go
Line 65 in 6cdd818
Environment:
kratos -v
): v2.6.3go version
): 1.20The text was updated successfully, but these errors were encountered: