Logging information in views and lists
Fri, 04/13/2012 - 08:52
I am trying to log out information in the vew map/reduce and list functions for debugging my functions.
Something simple like this:
function(keys, values, rereduce) {
if (rereduce) log('reducing ..' + JSON(keys) );
}
Not sure if my syntax is correct but it runs fine when I add a log statement. But I cannot find any log files anywhere that contain my statement.
Is it possible to log information out somewhere in these functions? And, if so, how do I see it?
Using Couchbase 2.0 dp4 on Mac.
Thanks.
Mark