Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to console log in couchdb

First off I'm really loving all the things you can do with CouchDB. I'm coming from a lot of front end JavaScript and I use console.log() for lots of debugging and testing tasks. I'm wondering how to console.log or what a better way to debug might be in CouchDB.

Any suggestions would be really awesome!

like image 802
Costa Michailidis Avatar asked Mar 08 '12 03:03

Costa Michailidis


1 Answers

CouchDB exposes a log method for debugging views. (presumably it also works for show, list, update and validation functions too) It sends output to the couch.log file on your system.

like image 72
Dominic Barnes Avatar answered Oct 07 '22 00:10

Dominic Barnes