Configuring the trace function in your local Liberty profile
Before you can trace your Java™ web application in your local Liberty profile, you must configure your local work environment.
About this task
Procedure
Add the
traceRequests="ON" parameter to the connection factory in your
server.xml file to enable tracing.
With traceRequests="ON" specified, when you send another application
request, the Eclipse console shows the request and the response that your application
sends and receives from CICS®.
The following example shows a request that is sent to CICS and the response received from CICS.
Starting DataFlowsMonitor log stream at
Thu Apr 07 14:21:54 BST 2016[00000000001]:
com.ibm.ctg.monitoring.DataFlowsMonitor:eventFired called with event = RequestEntry
FlowType = EciSynconreturn Fully qualified APPLID = No APPLID CtgCorrelator =
1Program = EC01Server =
TCP://WINMVS2C.HURSLEY.IBM.COM:27723PayLoad = COMMAREA is 20
bytes00000000 00000000 00000000 00000000 00000000
'????????????????????'
[00000000001]:
com.ibm.ctg.monitoring.DataFlowsMonitor:eventFired called with event = ResponseExit
FlowType = EciSynconreturn Fully qualified APPLID = No APPLID CtgCorrelator =
1OriginData - Transaction Group ID = 1B114040
40404040 40402EF0 F0F0F0F0 F0F0F2D0 8F53F115 220100Program = EC01Server =
TCP://WINMVS2C.HURSLEY.IBM.COM:27723PayLoad = COMMAREA is 20
bytesF0F761F0 F461F1F6 40F1F47A F2F17AF5 F4000000
'??a??a??@??z??z?????'CtgReturnCode = 0CicsReturnCode = 0