With 7.2.2, we updated the REST Connector to use a current version of the Apache httpcomponents jars. Thus, com.pega.apache.http.wire is no longer available. With 7.3, and the log4j2 update, the regular Apache wire logs become available (org.apache.http.wire). Unfortunately, for 7.2.2 the actual wire contents are no longer logged by the RESTConnector debug log, only headers. Request and response headers are sufficient for most debugging tasks.
If request/response bodies are absolutely needed, turning on debug logging for ServiceMappingUtils logs the mapped values for both request and response values.
Finally, there is a hot fix available for 7.2.2 that adds the request and response bodies to the RESTConnector debug logs.
For Pega 7.3 and higher, we suggest using org.apache.http.wire to log request and response bodies.
Posted: 6 years ago
Posted: 11 Jul 2017 7:24 EDT
Gordian Bartel (Gordian)
Lead System Architect