Couchbase Server stores its logs different places, depending on
the component reporting the error. The core memory and replication
logs are stored in an efficient, space-limited binary format under
/opt/couchbase/var/lig/couchbase/logs. A
Couchbase shell script (cbbrowse_logs) will
output these logs in a human-readable text format.
To dump the most recent 100MB of logs as text, run the following command:
shell> cbbrowse_logs
You can redirect the output of this batch file to a text file that
you can save for later viewing or email to
Couchbase
Technical Support. The following example redirects output
to a text file named nslogs.txt.
shell> cbbrowse_logs > /tmp/nslogs.txt