How can i know which node the docId locates?

How can i know which node the docId locates?
I want to know what the docId I want to look for locates.
And what tool or command-line I can use.

I’m not sure what you mean by “locates”, but you can use the cbc-hash tool to display which nodes are master and replica for a given doc ID:

mnunberg@mbp15 ~ $ cbc hash some_doc_id -U couchbase://10.0.0.31/default
some_doc_id: [vBucket=133, Index=0] Server: 10.0.0.31:11210, CouchAPI: http://10.0.0.31:8092/default
Replica #0: Index=2, Host=10.0.0.33:11210

The cbc-hash utility is part of the libcouchbase2-bin package, which may be installed by your package manager on Linux. If using Windows, you can download the binaries by looking at: http://docs.couchbase.com/developer/c-2.4/download-install.html#bin-download-container

Yes, I see. Thanks.
But how can i enable the debug-level log in eclipse?