Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

PrashantLearnIT
Tera Sage

Did you know that additional logging is available when testing outbound REST or SOAP Messages?

There are 3 levels of logging available:

  • basic
  • elevated
  • all

These levels can be set using either of the following methods:

  • System Properties
    • glide.outbound_http_log.override = true
    • glide.outbound_http_log.override.level = <basic, elevated or all>
  • Per REST Message Method
    • Related Link on defined REST Message Method records OR
    • Via the .setLogLevel() function using the SOAPMessagev2 or RESTMessageV2 APIs.

Available details include:

  • Request/Response Query parameters, Headers, Body
  • Source details e.g. Script or Scheduled Job, Username (trigger), MID Server, Application Scope, Session ID

 

Supporting documentation:

If my content helped you in anyway, please mark this content as BOOKMARK, SUBSCRIBE & HELPFUL

 

Best Regards,

Prashant Kumar (LearnIT)

 

YouTube Channel LearnIT: https://www.youtube.com/@learnitwithprashant

Blog LearnIT: https://medium.com/@LearnITbyPrashant

Prashant Kumar LinkedIn: https://www.linkedin.com/in/learnitbyprashant/

ServiceNow Community Prashant Kumar - https://www.servicenow.com/community/user/viewprofilepage/user-id/19635