プロジェクト

全般

プロフィール

バグ #381

Dialogflow から Webhook で通知される JSON データの全文が、 GAE でログ出力されない

みぞ @mizo0203 さんが6年以上前に追加. 約6年前に更新.

ステータス:
却下
優先度:
通常
対象バージョン:
開始日:
2018/05/27
期日:
進捗率:

0%

予定工数:

説明

出力ログ

修正前

https://console.cloud.google.com/logs/viewer?project=api-project-379224789817&resource=gae_app&minLogLevel=0&expandAll=false&timestamp=2018-05-27T14%3A07%3A17.651916000Z&dateRangeStart=2018-05-27T13%3A07%3A38.083Z&interval=PT1H&customFacets&limitCustomFacetWidth=true&dateRangeUnbound=forwardInTime&scrollTimestamp=2018-05-27T13%3A32%3A32.654705000Z&dateRangeEnd=2018-05-27T14%3A07%3A38.083Z&logName=projects%2Fapi-project-379224789817%2Flogs%2Fappengine.googleapis.com%252Frequest_log&advancedFilter=resource.type%3D%22gae_app%22%0Aresource.labels.module_id%3D%22default%22%0Aresource.labels.zone%3D%22asia-northeast1-1%22%0Aresource.labels.project_id%3D%22api-project-379224789817%22%0Aresource.labels.version_id%3D%221%22%0Atimestamp%3D%222018-05-27T13%3A32%3A32.654705000Z%22%0AinsertId%3D%225b0ab370000b43843fd44e77%22

com.mizo0203.google.home.shiritori.HelloServlet doPost: doPost() line: { (HelloServlet.java:38) // ★ "{" 以降がログ出力されない

修正後

https://console.cloud.google.com/logs/viewer?project=api-project-379224789817&resource=gae_app&minLogLevel=0&expandAll=false&timestamp=2018-05-27T14%3A10%3A58.231000000Z&dateRangeStart=2018-05-27T13%3A07%3A38.083Z&interval=PT1H&customFacets&limitCustomFacetWidth=true&dateRangeUnbound=forwardInTime&scrollTimestamp=2018-05-27T14%3A07%3A17.651916000Z&dateRangeEnd=2018-05-27T14%3A07%3A38.083Z&logName=projects%2Fapi-project-379224789817%2Flogs%2Fappengine.googleapis.com%252Frequest_log&advancedFilter=resource.type%3D%22gae_app%22%0Aresource.labels.zone%3D%22asia-northeast1-1%22%0Aresource.labels.project_id%3D%22api-project-379224789817%22%0Aresource.labels.version_id%3D%221%22%0Aresource.labels.module_id%3D%22default%22%0Atimestamp%3D%222018-05-27T14%3A07%3A17.651916000Z%22%0AinsertId%3D%225b0abb9a000092dba8486a65%22

com.mizo0203.google.home.shiritori.HelloServlet doPost: doPost() body: { (HelloServlet.java:42)
  "responseId": "a914ff88-492a-44ec-8a1e-b9ea5bf3dfb6",
  "queryResult": {
    "queryText": "明日 福岡 予約",
    "parameters": {
      "date": "2018-05-28T12:00:00+09:00",
      "building": "福岡タウンホテル",
      "Request": "予約"
    },
    "allRequiredParamsPresent": true,
    "fulfillmentText": "2018-05-28 の 福岡タウンホテル を予約しました。",
    "fulfillmentMessages": [{
      "text": {
        "text": ["2018-05-28 の 福岡タウンホテル を予約しました。"]
      }
    }],
    "outputContexts": [{
      "name": "projects/api-project-379224789817/agent/sessions/1527430027628/contexts/google_assistant_input_type_voice",
      "parameters": {
        "date": "2018-05-28T12:00:00+09:00",
        "date.original": "明日",
        "building.original": "福岡",
        "Request": "予約",
        "Request.original": "予約",
        "building": "福岡タウンホテル"
      }
    }, {
      "name": "projects/api-project-379224789817/agent/sessions/1527430027628/contexts/actions_capability_audio_output",
      "parameters": {
        "date": "2018-05-28T12:00:00+09:00",
        "date.original": "明日",
        "building.original": "福岡",
        "Request": "予約",
        "Request.original": "予約",
        "building": "福岡タウンホテル"
      }
    }, {
      "name": "projects/api-project-379224789817/agent/sessions/1527430027628/contexts/actions_capability_media_response_audio",
      "parameters": {
        "date": "2018-05-28T12:00:00+09:00",
        "date.original": "明日",
        "building.original": "福岡",
        "Request": "予約",
        "Request.original": "予約",
        "building": "福岡タウンホテル"
      }
    }],
    "intent": {
      "name": "projects/api-project-379224789817/agent/intents/475d67e6-a2a8-486e-9936-a35e1b76e8bc",
      "displayName": "booking"
    },
    "intentDetectionConfidence": 1.0,
    "diagnosticInfo": {
    },
    "languageCode": "ja"
  },
  "originalDetectIntentRequest": {
    "source": "google",
    "version": "2",
    "payload": {
      "isInSandbox": true,
      "surface": {
        "capabilities": [{
          "name": "actions.capability.MEDIA_RESPONSE_AUDIO"
        }, {
          "name": "actions.capability.AUDIO_OUTPUT"
        }]
      },
      "inputs": [{
        "rawInputs": [{
          "query": "明日 福岡 予約",
          "inputType": "VOICE"
        }],
        "arguments": [{
          "rawText": "明日 福岡 予約",
          "textValue": "明日 福岡 予約",
          "name": "text"
        }],
        "intent": "actions.intent.TEXT"
      }],
      "user": {
        "lastSeen": "2018-05-27T13:32:31Z",
        "locale": "ja-JP",
        "userId": "ABwppHH1SG0cLraSt4wXEyBG4wQFvDbWDlxl2cmCbbhakBqI1tMbcodwZlPaGWoKhH67QBjrzsuj2588z8HhpWy1xbLkpyre"
      },
      "conversation": {
        "conversationId": "1527430027628",
        "type": "ACTIVE",
        "conversationToken": "[\"475d67e6-a2a8-486e-9936-a35e1b76e8bc_id_dialog_context\",\"actions_capability_audio_output\",\"actions_capability_media_response_audio\",\"booking_dialog_context\",\"booking_dialog_params_date\",\"google_assistant_input_type_voice\"]"
      },
      "availableSurfaces": [{
        "capabilities": [{
          "name": "actions.capability.WEB_BROWSER"
        }, {
          "name": "actions.capability.AUDIO_OUTPUT"
        }, {
          "name": "actions.capability.SCREEN_OUTPUT"
        }]
      }]
    }
  },
  "session": "projects/api-project-379224789817/agent/sessions/1527430027628"
}

他の形式にエクスポート: Atom PDF