Rich-text Reply

Silence Optimizely SDK version x.x.x started

JohnCoates 07-07-16
Accepted Solution

Silence Optimizely SDK version x.x.x started

Could you please add an option to silence the NSLog that [Optimizely startOptimizelyWithAPIToken] produces?

It can be quite overwhelming when a dozen things log something on initialization. Thanks!

tedroddy 07-07-16
 

Re: Silence Optimizely SDK version x.x.x started

John,

 

It sounds like you have verbose logging enabled. With verbose logging disabled, you should only see these two NSLogs:

 

2016-07-07 16:43:30.717 TutorialApp[4175:1607957] Optimizely SDK version 1.5.0 started.
2016-07-07 16:43:30.718 TutorialApp[4175:1607957] Set the verboseLogging property to YES to see debug output

 

If you're seeing more than that, you may want to disable verbose logging.

http://developers.optimizely.com/ios/reference/#verbose-logging

Best,
Ted
Optimizely
JohnCoates 07-07-16
 

Re: Silence Optimizely SDK version x.x.x started

Ted,

 

Thanks for the reply. I don't have verbose logging enabled. I'm only talking about those two NSLogs. What I mean about the "dozen logs" is that if all the external libraries I initiate choose to log something, it can quickly get overwhelming. I'd appreciate if you could disable those two logs from getting printed.

tedroddy 07-11-16
 

Re: Silence Optimizely SDK version x.x.x started

John,

Ah, I see what you mean now. I'll file this feedback as an improvement request.
Best,
Ted
Optimizely
JohnCoates 07-12-16
 

Re: Silence Optimizely SDK version x.x.x started

Thanks Ted!