Creating Client Logs
- reference
Client logs refers to entries that are added to the central log from an SDK.
Description
Entries can be added to the central log from a custom Couchbase Server 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.
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