Skip to content

Latest commit

 

History

History
executable file
·
31 lines (23 loc) · 1.39 KB

getting-started-logging.md

File metadata and controls

executable file
·
31 lines (23 loc) · 1.39 KB
copyright lastupdated
years
2015, 2019
2019-02-01

{:shortdesc: .shortdesc} {:new_window: target="_blank"} {:tip: .tip} {:important: .important} {:note: .note} {:deprecated: .deprecated} {:important: .important} {:note: .note} {:pre: .pre} {:codeblock: .codeblock} {:screen: .screen}

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

{: #gs-logging-overview}

By default, all {{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}

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 to opt out.

To prevent {{site.data.keyword.IBM_notm}} usage of your data for general service improvements, set the header parameter X-Watson-Learning-Opt-Out to true or 1 for the request. (Any value other than false or 0 disables request logging for that call.) You must set the header on each request that you do not want {{site.data.keyword.IBM_notm}} to use for general service improvements.

Important: X-WDC-PL-OPT-OUT deprecated: The earlier name, X-WDC-PL-OPT-OUT, is deprecated, although it continues to work for now. The header accepts a value of 1 to opt out of request logging. Any other value enables logging.