Enabling couchbase plugin logging


#1

We are replicating couchbase data to elastic search and facing some issue. Just wondering how would I enable the couchbase plugin logging in elastic search. We are using elastic search 1.5.2 version.

Thank you.
Milind


#2

Hi Milind,

We added a line to the docs about how to enable logging that you can find right at the end of here: http://developer.couchbase.com/documentation/server/4.0/connectors/elasticsearch-2.1/trouble-intro.html
Note that the example settings should each be on their own line in your logging.yml file in the logger section.

transport.couchbase: TRACE
com.couchbase: TRACE

You can also set to DEBUG / WARN / INFO

In my own personal Elasticsearch install I use homebrew on the Mac, so my logging.yml is at
/usr/local/etc/elasticsearch. Your location may vary depending on how you installed Elasticsearch.