diff --git a/ja/learn/admin/REST/rest-client-logs.dita b/ja/learn/admin/REST/rest-client-logs.dita index 771c170..67ce934 100644 --- a/ja/learn/admin/REST/rest-client-logs.dita +++ b/ja/learn/admin/REST/rest-client-logs.dita @@ -1,24 +1,26 @@ - - Creating client logs - Client logs refers to entries that are added to the central log from a SDK. + + クライアントログの作成 + クライアントログは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.

+
説明 +

+ エントリはカスタムCouchbase SDKからセントラルログに追加できます。 + これらのエントリは一般的に、サーバレスポンスのハンドリングのような難しい例外のレスポンスです。 + 例えば、Webコンソールではクライアントのエラー状態を記録するときにこの機能を使用します。 +

-
HTTP method and URI +
HTTPメソッドとURI POST /logClientError
-
Syntax +
シンタックス -

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

+

エントリを追加するには、次のようなRESTリクエストを行います:

POST /logClientError Host: [localhost]:8091 @@ -28,12 +30,12 @@ X-memcachekv-Store-Client-Specification-Version: 0.1
-
Example -

Curl request example:

+
+

Curlリクエスト例:

curl -u Administrator:password -X POST http://10.5.2.117:8091/logClientError
-
Response codes +
レスポンスコード 200 - OK "Unexpected server error, request logged."