Configure HTTP request logging for IBM Watson Language Translator

You can set the level of detail for HTTP request logging for IBM Watson® Language Translator by using the Watson SDK Logging setting.

When trace logging is enabled for IBM Watson Language Translator, the request URL, HTTP response code, and request headers are included in the trace log by default. You can use the Watson SDK Logging setting to change the logging level for the HTTP requests and responses.

The location of the trace log file is <OP-HOME>/aurora/logs/debug/<server_name>-watson.log.

This HTTP request logging can help you to troubleshoot network connectivity issues.

Applications > Watson Language Translator > Watson SDK Logging
Default: HEADERS
Values:
  • NONE: No HTTP logging
  • BASIC: Minimal logging (request URL and HTTP response code)
  • HEADERS: Same as Basic, plus the request and response headers
  • BODY: Same as HEADERS, plus the request and response body
    Attention: The BODY logging level has the potential to cause sensitive customer data to be written to the log when resources (such as fields) in a Task View are translated.
Tip: You don't need to restart the application servers when you change this setting.