Products | Versions |
---|---|
TIBCO ActiveMatrix BusinessWorks | 5.13.x, 5.14 |
Step 1. Update the logger
BW 5.13.x
Set the logger httpclient.wire to DEBUG in TIBCO_HOME/bw/5.13/lib/log4j.xml on the machine where Designer/deployed application is running.
Before:
<logger name="httpclient.wire">
<level value ="WARN"/>
<appender-ref ref="tibco_bw_log"/>
</logger>
After:
<logger name="httpclient.wire">
<level value ="DEBUG"/>
<appender-ref ref="tibco_bw_log"/>
</logger>
BW 5.14
Add the following logger to TIBCO_HOME/bw/5.14/lib/log4j.xml on the machine where Designer/deployed application is running.
<logger name="org.apache.http.wire">
<level value ="DEBUG"/>
<appender-ref ref="tibco_bw_log"/>
</logger>
Step 2. Restart Designer/deployed application
Step 3. Messages will be written to Designer console/deployed application log.
Note - the aforementioned loggers are for tracing request and response messages. For information on other loggers, refer to the following links:
https://hc.apache.org/httpclient-3.x/logging.html (applies to HttpClient version used in BW 5.13.x)
https://hc.apache.org/httpcomponents-client-4.5.x/logging.html (applies to HttpClient version used in BW 5.14)