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

Ability to configure logging #359

Closed
patrickcapadmi opened this issue Mar 26, 2024 · 3 comments
Closed

Ability to configure logging #359

patrickcapadmi opened this issue Mar 26, 2024 · 3 comments

Comments

@patrickcapadmi
Copy link

The SDK currently writes a large number of logs to the console for all of it's internal operations. This is helpful for debugging issues with Launch Darkly but a lot of spam to the console otherwise.

This seems to have been introduced with SDK version 9.4.0 with this change: #340

I'd like the ability via logging levels or a boolean flag to customise the levels of or enable/ disable logging from the SDK.

Additional context
SDK version 9.4.0+

@tanderson-ld
Copy link
Contributor

Hi @patrickcapadmi, thank you for reaching out. Does the config option posted in this closed issue fit your needs?

@patrickcapadmi
Copy link
Author

Ahh, thanks looks like that will do the trick.

I'd possibly suggest adding info on that to this page in the docs as I'd assumed it wasn't possible given the iOS Client SDK is missing - https://docs.launchdarkly.com/sdk/features/logging

@tanderson-ld
Copy link
Contributor

Thank you for bringing that to our attention. We didn't realize it was missing over there. Tracking as 238017 internally.

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