Enable/Disable the REST API service specific loggers in Pega
There may be an instance where we need to capture the errs/issues while working on REST conn/service. We know that Pega gave OOTB loggers to enable/disable in the Designer Studio (Pega 7.x) or Admin Studio (Pega 8.x). The below 4 loggers are required in REST side. Enable them in the sys based on the needed level (Err/Debug/All/Warn/Alert/
Logger Names:
- com.pega.pegarules.
integration.engine.internal. util.PRServiceUtils (Any Service) - com.pega.pegarules.
integration.engine.internal. ServiceMappingUtils (Any Service) - com.pega.pegarules.
integration.engine.internal. connect.rest.RESTClient (REST Connect) - com.pega.pegarules.
integration.engine.internal. connect.rest.RESTConnector (REST Connect)
When we associate a log level with a log category, the log messages of this category are written to a log file. The log level applies to all the loggers that we are associate with the category. We don’t need to recycle/bounce the server while adding/deleting the loggers.
Note: Please make sure them to remove them from the sys, if they are no longer needed. Otherwise, the log files are piled up with all the entries related to this context.
References:
1) Pega Developer Help
2) Pega Community Site

