Skip to content

Conversation

aliabbasrizvi
Copy link
Contributor

No description provided.

@aliabbasrizvi
Copy link
Contributor Author

@coveralls
Copy link

coveralls commented Sep 17, 2016

Coverage Status

Coverage remained the same at 96.682% when pulling d0fadfc on aliabbasrizvi/fix_schema into 8a9f8b7 on aliabbasrizvi/event_2_0.

@haleybash-optimizely
Copy link

lgtm

@aliabbasrizvi aliabbasrizvi merged commit 9530d87 into aliabbasrizvi/event_2_0 Sep 17, 2016
@aliabbasrizvi aliabbasrizvi deleted the aliabbasrizvi/fix_schema branch September 17, 2016 00:20
spencerwilson-optimizely pushed a commit that referenced this pull request Apr 5, 2018
`SimpleLogger` appears to be a singleton, so the (unused) instantiation
of it as `optlog` actually shadows the instatiation passed to
`optimizely.Optimizely` as the logger. By removing `optlog` we can
actually configure the log level for the latter (very useful when
debugging integration tests).

For simplicitly, allow the user to set "OPTIMIZELY_SDK_LOG_LEVEL" in the
environment to override the default.

Set to DEBUG by default.
```
testapp_1  |  * Running on http://0.0.0.0:3000/ (Press CTRL+C to quit)
testapp_1  | DEBUG    2018-03-28 18:15:56,225 /usr/local/lib/python2.7/site-packages/optimizely/decision_service.py:208:User "josh" meets conditions for targeting rule 1.
testapp_1  | DEBUG    2018-03-28 18:15:56,226 /usr/local/lib/python2.7/site-packages/optimizely/bucketer.py:85:Assigned bucket 3579.0 to user with bucketing ID "josh".
testapp_1  | INFO     2018-03-28 18:15:56,227 /usr/local/lib/python2.7/site-packages/optimizely/bucketer.py:137:User "josh" is in no variation.
testapp_1  | DEBUG    2018-03-28 18:15:56,228 /usr/local/lib/python2.7/site-packages/optimizely/decision_service.py:220:User "josh" is not in the traffic group for the targeting else. Checking "Everyone Else" rule now.
testapp_1  | DEBUG    2018-03-28 18:15:56,229 /usr/local/lib/python2.7/site-packages/optimizely/bucketer.py:85:Assigned bucket 4973.0 to user with bucketing ID "josh".
testapp_1  | INFO     2018-03-28 18:15:56,230 /usr/local/lib/python2.7/site-packages/optimizely/bucketer.py:137:User "josh" is in no variation.
testapp_1  | INFO     2018-03-28 18:15:56,231 /usr/local/lib/python2.7/site-packages/optimizely/optimizely.py:413:Feature "feature_flag" is not enabled for user "josh".
```
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

Successfully merging this pull request may close these issues.

3 participants