KB Article #64092

Interchange XSR TRACE logging

Problem

How can you enable the most verbose logging in XSR?


Resolution

Unlike basic Interchange, XSR makes use of a TRACE log level which is more verbose than DEBUG.  To enable it on the RA side edit the axway/dmzNode/xsr/conf/log.properties file as follows:



log4j.rootLogger=TRACE, ROLLINGFILE



Please disregard the text in the log.properties file that indicates the available log levels are ERROR, INFO and DEBUG - this is incomplete.



Similarly, TRACE level logging can be enabled on the MA side by editing the Gateway_Interchange\build\conf\log4j.properties file as follows:



# XSR
log4j.category.com.axway.multiplex=TRACE
log4j.category.com.axway.niocore=TRACE
log4j.category.com.axway.packet=TRACE
log4j.category.com.axway.tools=TRACE
log4j.category.com.axway.xsr=TRACE



log4j.category.com.axway.xsr.log.heartbeat=TRACE
log4j.category.com.axway.xsr.log.incall=TRACE
log4j.category.com.axway.xsr.log.listen=TRACE
log4j.category.com.axway.xsr.log.listenOnce=TRACE
log4j.category.com.axway.xsr.log.outcall=TRACE



You can select any of these lines to enable TRACE level logging for a particular area (you don''t need to enable all).