문제

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.)

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top