I have been trying to debug sync function and for that I am using “console.log”; however, I could not see any data log (console.log stdoutput) in “Couchbase\var\lib\couchbase\logs\sync_gateway_error.log” file. sync gateway config I am using “log”: ["*"];
When i tried with various casing like “Console.log” or “console.Log” I see an error " 500 Exception in JS sync function".
I have also tried just a “log()” function, to my surprise it does not break sync function neither it log anything.
What I am doing wrong here?
I am using couchbase sync gateway 1.5.1 (Windows)