Skip to content

Files

Latest commit

3a13c4e · Jan 13, 2023

History

History
executable file
·
34 lines (21 loc) · 2.12 KB

getting-started-logging.md

File metadata and controls

executable file
·
34 lines (21 loc) · 2.12 KB
copyright lastupdated keywords subcollection
years
2015, 2023
2023-01-13
logging,service improvements,opt out
watson

{{site.data.keyword.attribute-definition-list}}

Controlling request logging for {{site.data.keyword.watson}} services

{: #gs-logging-overview}

By default, most {{site.data.keyword.ibmwatson}} services log requests and their results. Logging is done only to improve the services for future users. The logged data is not shared or made public. {: shortdesc}

The {{site.data.keyword.languagetranslatorshort}} and {{site.data.keyword.toneanalyzershort}} services do not log any request data. You cannot opt in to request logging at the request level or at the account level. {: note}

If you are concerned with protecting the privacy of users' personal information or otherwise do not want your requests to be used by {{site.data.keyword.IBM_notm}}, you can choose not to have {{site.data.keyword.IBM_notm}} learn from your data (opt out). Choose to opt out at either the account level or at the API request level.

  • To prevent {{site.data.keyword.IBM_notm}} usage of your data for general service improvements for all services for which you are the owner, select Do not learn from my data on the {{site.data.keyword.watson}} Privacy Settings{: external} page. To access the setting, you must be the account owner.
  • To prevent {{site.data.keyword.IBM_notm}} usage of your data for an API request, set the X-Watson-Learning-Opt-Out header parameter to true.

A choice to opt out from logging data at either level overrides a choice to opt in.

You cannot opt in at the request level if you opt out at the account level. However, you can opt out at the request level if the account is set to opt in. If your intent is to opt out for a subset of your services, select Learn from my data at the account level. Then, set the request header to true to prevent usage of your data on those requests. {: tip}

For more information about specific use, see the API reference{: external} for the {{site.data.keyword.watson}} service.