Where to find REST Service Debug Logs?

dalton1
Giga Expert

Hi,

I have been figuring out how to debug REST services. I came across below link and followed instructions:

https://developer.servicenow.com/app.do#!/document/content/app_store_doc_rest_integrate_fuji_r_Debug...

I already set the property mentioned in the article to true. I am running the REST service through the UI (System Web Services -> Outbound -> REST Message)and through script (Fix Script). But to no avail, I cannot seem to find the logs anywhere. Any advice?

5 REPLIES 5

tony_barratt
ServiceNow Employee
ServiceNow Employee

Hi Dalton,



Output will be in System Logs


Viewing System Logs - ServiceNow Wiki



Best Regards



Tony


Hi Tony Barratt


That's where I am looking at. But to no avail. I have already tried to explore the Node Log File Browser. On the other note, there seems to be a plausible answer for this in another thread, someone answered my query.



On Fuji instance, there is a different debug property available.


Debug property for Outbound REST : glide.rest.outbound.debug


Debug property for Outbound HTTP : glide.http.log_debug



Will try this first and report if this worked!


Re: Debugging web services in ServiceNow


Hi Tony Barratt




This did NOT work for me. There are still no logs recorded for my REST Outbound service.


lss123
Tera Contributor

Dalton, did you ever find an answer for this?   I'm trying to debug my outbound REST calls, have enabled all of these properties, but am seeing nothing new in the logs.   My calls are being made from script includes and business rules out to a 3rd party application.



Edit:   correct answer can be found here: Re: REST API Logging?   (System Logs -> Utilities -> Node Log File Browser)