Reputation: 1637
WL 6.0.0.1
I'm using the WL.Analytics.log API but no entries appear in the analytics console. (I send more than 10 logs)
I have configured in the initOptions.js the property:
analytics : {
enabled: false
}
I have also tried with
WL.Analytics.enable()
In the worklight properties:
wl.analytics.logs.forward=false
wl.analytics.url=http://analytics:80/iwap/v1/events/_bulk
wl.analytics.queues=1
wl.analytics.queue.size=1
If I use WL.Client.logActivity it works. If I enable wl.analytics.logs.forward I see all the server logs. I also see the analytics sent by default when invoking an adapter, or the init event or the notifications events.
I have reviewed the analytics troubleshooting guide but I didn't find anything.
I really do not know what else to test or how to debug this.
Thank you.
Upvotes: 0
Views: 707
Reputation: 1637
Finally with the help of support we could find the problem. It was the locale on the device.
I have changed my iPad to English (The same as workligh server and analytics server) and after rebuilding, redeploy in the stand alone worklight and reinstall in the device it worked.
Upvotes: 1