Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trace ID not specified for event logs #31

Open
jamesross3 opened this issue Feb 17, 2019 · 0 comments
Open

Trace ID not specified for event logs #31

jamesross3 opened this issue Feb 17, 2019 · 0 comments

Comments

@jamesross3
Copy link
Contributor

We have a method roughly equivalent to the following:

func foo(ctx context.Context) {
  span, ctxWithSpan := wtracing.StartSpanFromContext(ctxWithSpan, wtracing.TracerFromContext(ctxWithSpan), spanName)
  svc1log.FromContext(ctx).Info("Do something")
  evt2log.FromContext(ctx).Event("doSomethingEvent")
}

We are observing only the service logger's log line has a trace ID specified and expected to see this trace ID on the event log line as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant