Adaptor trace information is provided as trace files to which the processing status of adaptors is output. This information is used at the stage of testing the operation of Stream Data Platform - AF to check the processing status of each callback operation.
The default is that adaptor trace information is not output because its output affects adaptor throughput. To make this trace information available, specify ON for the trace attribute in the adaptor trace definition. Before actual operations begin, set this attribute so that adaptor trace information will not be output. For details about the adaptor trace definition, see 9.6.2 Adaptor trace definition.
Adaptor trace information is created for each adaptor, with two megabytes of trace information output to each file in the wraparound mode.
Adaptor trace information is output under the following name:
adp_type-adaptor-group-name-adaptor-name_serial-number
The following describes each component of the file name:
If the adaptor trace file already exists when the adaptor starts, its file name is changed to file-name.bk.
For details about the adaptor definition files, see 9. Adaptor Definition Files.
Adaptor trace information is output in CSV format, as shown below:
number,date,time,thread,event |
The table below describes each output item.
Table 6-6 Items output as adaptor trace information
No. | Item | Description |
---|---|---|
1 | number | 4-digit serial number (when the value reaches 9999, it initializes to 0001) |
2 | date | Date the trace information was collected, in the format YYYY/MM/DD |
3 | time | Time the trace information was collected, in the format hh:mm:ss.fff |
4 | thread | Adaptor name (value specified in the name attribute in the adaptor definition) |
5 | event | Callback name and detailed information, in the following format: callback-name
|
An example of the output is shown below. In this example, the first line is a header and the subsequent lines are records.
No,Date,Time,Thread,Event |
This subsection describes the adaptor trace information that is output when records are discarded during callback processing or packets are discarded during HTTP packet input connector processing.
Table 6-7 Detailed information in the adaptor trace information for a callback (applicable to discarding of records)
No. | Callback type | Detailed information |
---|---|---|
1 | HTTP packet input connector |
|
2 | Filter |
|
3 | Record extraction |
|
4 | Dashboard output connector |
|
The following shows examples of output of adaptor trace information for callbacks:
3288,2010/10/15,10:16:11.223,InputAdaptor1,inputer entry |
3291,2010/10/15,10:16:11.223,InputAdaptor1,filter1 entry |
3294,2010/10/15,10:16:11.223,InputAdaptor1,extract1 entry |
3288,2010/10/15,10:16:11.223,OutputAdaptor1,outputer entry |
Table 6-8 Detailed information in the adaptor trace information (applicable to discarding of packets or HTTP messages)
Callback type | Detailed information |
---|---|
HTTP packet input connector |
|
3288,2010/10/15,10:16:11.223,InputAdaptor1,inputer entry |
3288,2010/10/15,10:16:11.223,InputAdaptor1,inputer entry |