Creating client logs

Client logs refers to entries that are added to the central log from a SDK.

Description

Entries can be added to the central log from a custom Couchbase SDK. These entries are typically responses to exceptions such as difficulty handling a server response. For example, the web console uses this functionality to log client error conditions.

HTTP method and URI

POST /logClientError

Syntax

To add entries, provide a REST request similar to the following:

POST /logClientError
Host: [localhost]:8091
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Accept: application/json
X-memcachekv-Store-Client-Specification-Version: 0.1

Response codes

200 - OK