How do I view the couchbase nodejs console logs?


#1

I’m trying debug timeout issues with the couchbase nodejs getMulti call, but I can’t see any logs for the couchbase nodejs client. I tried setting the environment variable LCB_LOGLEVEL=5 and then running my nodejs script, but I still don’t see any couchbase logs in the console. The commands I’m running are:
LCB_LOGLEVEL=5
node testLargeDataRetrieval.js

The only logs I see in the console though are my console logs from my program. How do I view the couchbase nodejs console logs? Running node 0.10.31 and couchbase 2.0.6


#2

Hey @alexegli,

Which platform are you on? You’re probably going to want to run export LCB_LOGLEVEL=5.

Cheer, Brett


#3

I’m on Ubuntu 12.04, using the bash shell to run the script.


#4

Thanks, that worked!