Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 2.0

Logging information in views and lists

No replies
  • Login or register to post comments
Fri, 04/13/2012 - 08:52
mvgetz
Offline
Joined: 04/12/2012
Groups: None

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

Top
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker