Rich-text Reply

disabling info console logs

Andreik 01-22-17

disabling info console logs

is there any way to disable the console logs of optimizely (INFO) ?

Level 2

Dyel 01-23-17
 

Re: disabling info console logs

Hey,

Have you tried using the following query parameter: ?optimizely_log=false

More info on logs can be found here:
https://help.optimizely.com/QA_Campaigns_and_Experiments/Read_the_Optimizely_X_log#Enable_the_log_wi...

Cheers,
Dyel
Optimizely
Andreik 01-23-17
 

Re: disabling info console logs

i was looking for a plain JS solution, but thanks Smiley Happy
Level 2
Andreik 01-23-17
 

Re: disabling info console logs

[ Edited ]

This is what i was looking for thanks for the reference !

optimizelyClientInstance = window.optimizelyClient.createInstance({datafile: datafile}); optimizelyClientInstance.logger.logToConsole = false;

Level 2