The trace records for request metrics data are output to two log files: the Web server plug-in log file and the application server log file. The default directory for these log files is plugin_install_root/logs/web_server_name/http_plugin.log and install_root/profiles/profile_name/logs/server_name) and the default names are SystemOut.log and http_plugin.log. You might, however, specify these log file names and their locations. In the WebSphere Application Server log file the trace record format is:
PMRM0003I: parent:ver=n,ip=n.n.n.n,time=nnnnnnnnnn,pid=nnnn,reqid=nnnnnn,event=nnnn - current:ver=n,ip=n.n.n.n,time=nnnnnnnnnn,pid=nnnn,reqid=nnnnnn,event=nnnn type=TTT detail=some_detail_information elapsed=nnnnIn the Web server plug-in log file the trace record format is:
PLUGIN: parent:ver=n,ip=n.n.n.n,time=nnnnnnnnnn,pid=nnnn,reqid=nnnnnn,event=nnnn - current:ver=n,ip=n.n.n.n,time=nnnnnnnnnn,pid=nnnn,reqid=nnnnnn,event=nnnn type=TTT detail=some_detail_information elapsed=nnnn bytesIn=nnnn bytesOut=nnnn
The trace record format is composed of two correlators: a parent correlator and current correlator. The parent correlator represents the upstream request and the current correlator represents the current operation. If the parent and current correlators are the same, then the record represents an operation that occurs as it enters WebSphere Application Server.
To correlate trace records for a particular request, collect records with a message ID of PMRM0003I from the appropriate application server log files and the PLUGIN trace record from the Web server plug-in log file.
Records are correlated by matching current correlators to parent correlators.
You can create the logical tree by connecting the current correlators of parent
trace records to the parent correlators of child records. This tree shows the progression of the request across the server cluster. Refer to Why use request metrics? for an example of the transaction flow.
The parent correlator is denoted by the comma separating fields following the keyword, parent:. Likewise, the current correlator is denoted by the comma separating fields following, current:. The fields of both parent and current correlators are:
Following the parent and current correlators, the metrics data for timed operation are:
The type and detail fields that are described include:
Related tasks
Enabling and disabling logging
Searchable topic ID: rprf_tracerecord