Question
World Bank
US
Last activity: 16 Oct 2018 12:03 EDT
Logging Service-Rest Request and Response
Hi Team,
Please let me know the option in SMA to log Service -Rest Request and Response like Connect-Rest (Rule_Obj_Activity.pyInvokeRESTConnector.Rule_Connect_REST.Action).
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
-
Likes (1)
spoosala vasu -
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
TAL
AU
Try com.pega.pegarules.integration.engine.internal.services.ServiceAPI
Also you could trace the Service Rule.
World Bank
US
No I am not getting request and response in logs like Connect-Rest
TAL
AU
I am able to see info/debug log messages for a sample Service Rest.
Do you see any logs at all in Pega Rules log file?
Try setting "All" log level in Designer Studio -> System -> Operations -> Logs
World Bank
US
I want Request and Response payload in logs .By using Log-Message we can log the message and my requirement is i want log Request and Response payload.
TAL
AU
I don't think those can be logged by any logger. You may have to write them using Log-Message methods in the handler Activities.
Estes Express Lines Inc
US
Hey
use method Log message and Function getXMLofPage(MyStepPage) in it
JPMorgan Chase & Company
US
Hi,
Could you please try to enable debug logging below classes
com.pega.pegarules.integration.engine.internal.util.PRServiceUtils
com.pega.pegarules.integration.engine.internal.ServiceMappingUtils
com.pega.pegarules.integration.engine.internal.connect.rest.RESTClient
-
Wilhelm Mauch
Pegasystems
US
com.pega.pegarules.integration.engine.internal.ServiceMappingUtils worked for me
-
Wilhelm Mauch
Infosys
AU
Trace open rule would be the best way to look at the service rest