18

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!

Costa Michailidis
  • 7,691
  • 15
  • 72
  • 124

1 Answers1

18

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.

Dominic Barnes
  • 28,083
  • 8
  • 65
  • 90