For the purpose of this tutorial, we will use the spymemcached logging framework. The Couchbase Java SDK is compatible with the framework. There are two other approaches to logging with the Java SDK either by setting JDK properties, or by logging from an application. For more information, see Section 10.1, “Configuring Logging”
To provide logging via spymemcached:
The default logger simply logs everything to the standard error stream.