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

"Missing or blank sdk key" log warning message upon importing ldclient #65

Closed
pdsarin opened this issue Dec 14, 2016 · 1 comment
Closed

Comments

@pdsarin
Copy link

pdsarin commented Dec 14, 2016

A warning is logged upon import of ldclient. IMO should either be logged at a lower level, or not at all as there's nothing I can do to prevent it.

WARNING 2016-12-13 23:53:09,950 config.py:43 - ldclient.util - __init__: Missing or blank sdk_key.

@c4pone
Copy link

c4pone commented Mar 16, 2017

Got the same issue. It's because the Config object gets created in the init file without any arguments. Then inside the Config class is a check if the sdk_key is empty.

See here:
https://github.com/launchdarkly/python-client/blob/master/ldclient/__init__.py#L19
https://github.com/launchdarkly/python-client/blob/master/ldclient/config.py#L42

eli-darkly added a commit that referenced this issue Aug 3, 2018
use final 3.7 release in CI build
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