Domanda

I'm debugging a hybrid Worklight (6.1.0.01) application in Xcode (5.1.1). I'm seeing the following message in my log:

[DEBUG] [OCLogger] Max file size exceeded for log messages.

I"m assuming that this log file is managed by Worklight, as I do not have any custom native code running or explicit references to OCLogger. I do have calls to WL.Logger.debug.

How can I manage this log file? And where is it on my file system? (Truncating it will probably do the trick at this point.)

È stato utile?

Soluzione

It is enabled by default. But you can disable using native or Javascript API Calls.

[OCLogger setCapture: NO];

For more info client side log capture

client side logging in client apps

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top