Question
4
Replies
562
Views
COFORGE DPA
Posted: January 21, 2020
Last activity: January 23, 2020
Closed
How To enable logs for REST
I have requirement to enable logs only for one Connect-REST . As our application have many REST connectors and services, don't want to enable for whole REST service or connector.
ANy one have idea on this?
Hi Krishna,
which version of Pega are you using ? If you are in 8.x, create a log category for the below classes and set the log level to DEBUG. Once log category is created, it's applicable for all the nodes in cluster. Once the job is done, turn of this from Admin studio.
If you are in 7.x series, navigate to log level setting and set log level individually to these 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
pyInvokeRESTConnector - Activity
Hope this helps.