RESTMessageV2 - setLogLevel(String level)

Set the log level for this message and the corresponding response.

Setting a log level using the RESTMessageV2 API overrides the log level configured on the REST message record. This log level may not apply if the endpoint domain is blacklisted, or if the property glide.outbound_http_log.override is true. To view outbound web service logs, navigate to System Logs > Outbound HTTP Requests.

Table 1. Parameters
Name Type Description
level String The log level. Valid values are basic, elevated, and all.
Table 2. Returns
Type Description
void
var rm = new sn_ws.RESTMessageV2();
rm.setLogLevel(‘all’);