From c4fee567c76dd568b405866c2d4f98d4d9da46f6 Mon Sep 17 00:00:00 2001 From: Yusuke Komatsu Date: Tue, 18 Aug 2015 09:36:10 +0900 Subject: [PATCH 1/2] [WIP] on #261 From 1e72368356cd2a55c2f41c507edea3ec1b7d8489 Mon Sep 17 00:00:00 2001 From: Yusuke Komatsu Date: Tue, 18 Aug 2015 09:49:42 +0900 Subject: [PATCH 2/2] Resolved #261 --- ja/learn/admin/REST/rest-client-logs.dita | 28 ++++++++++++----------- 1 file changed, 15 insertions(+), 13 deletions(-) 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."