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

Unable to turn down logging #374

Open
nevins-b opened this issue Aug 11, 2022 · 2 comments
Open

Unable to turn down logging #374

nevins-b opened this issue Aug 11, 2022 · 2 comments
Assignees

Comments

@nevins-b
Copy link

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
Copy link
Contributor

atshaw43 commented Aug 29, 2022

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

Can you provide code that reproduces the issue?

@atshaw43
Copy link
Contributor

atshaw43 commented Sep 6, 2022

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

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

2 participants