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

LogLevel setting is shared between Ably instances #901

Open
davyskiba opened this issue Jan 23, 2023 · 1 comment
Open

LogLevel setting is shared between Ably instances #901

davyskiba opened this issue Jan 23, 2023 · 1 comment
Labels
bug Something isn't working. It's clear that this does need to be fixed.

Comments

@davyskiba
Copy link
Contributor

The LogLevel setting is passed to the Ably constructor in the ClientOptions object and assigned to the static field in DefaultAbly constructuctor. Because of the static field shared nature when constructing multiple instances of Ably with different log level setting, in the end, all instances will be using the value passed in options to the last constructed Ably instance

@davyskiba davyskiba added the bug Something isn't working. It's clear that this does need to be fixed. label Jan 23, 2023
@sync-by-unito
Copy link

sync-by-unito bot commented Jan 23, 2023

➤ Automation for Jira commented:

The link to the corresponding Jira issue is https://ably.atlassian.net/browse/SDK-3267

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working. It's clear that this does need to be fixed.
Development

No branches or pull requests

1 participant