aws / aws-xray-sdk-go

AWS X-Ray SDK for the Go programming language.
Apache License 2.0
276 stars 117 forks source link

Unable to turn down logging #374

Open nevins-b opened 2 years ago

nevins-b commented 2 years ago

We're trying to disable specifically the Emitter using address logs that xray sends.

based on previous discussions (#192) we've tried

// disable info logging for xray
xray.SetLogger(xraylog.NewDefaultLogger(os.Stdout, xraylog.LogLevelWarn))

err := xray.Configure(xray.Config{})

which doesn't work, I think because the logger is reset in each file that imports logging.

atshaw43 commented 2 years ago

@nevins-b I am not able to reproduce the issue.

Can you provide code that reproduces the issue?

atshaw43 commented 2 years ago

@nevins-b Bumping this to the top of your inbox.