You can configure outbound request logging to log basic, elevated, or all HTTP request and response information for specific domains.

To configure the log level for a REST method or SOAP message function, navigate to the record you want to configure and click the Set log level related link, then select a log level for the current record.

To modify the log level for multiple outbound requests, navigate to System Web Services > HTTP Log Levels and change the log levels using the list. All outbound requests that have been configured with a specific log level are listed.

You can override the log level for all outbound requests using the properties glide.outbound_http_log.override and glide.outbound_http_log.override.level. Use these properties only for a limited time when troubleshooting.

You can set the log level in a script using the setLogLevel() function from the SOAPMessageV2 and RESTMessageV2 APIs. For more information about using these APIs, refer to the API documentation.

Outbound request log levels

Certain elements are logged based on the configured log level.

Logged elements

The following elements from the request and response are logged depending on the configured log level.