CCI trace options can be specified via the CCI.INI file. These options are listed under the [ccitrace-base] section.
Option | Value | Meaning |
---|---|---|
force_trace_on | yes or no | If yes, logs the details of CCI API calls to the trace file. The default condition for this option is no. Unless this option is specified, no tracing will be generated, even if the other options are specified to yes. |
protocol_trace | yes or no | If yes, logs the details of protocol level calls to the trace file. If this option is yes, the level of function tracing may be greatly increased. The default condition for this option is no. |
data_trace | yes or no | If yes, logs the contents of all buffers passed to and from the CCI functions. The default condition for this option is no. Data tracing may not be allowed if the application has been coded to prohibit data tracing for security reasons. |
For example, to turn on CCI API tracing and data tracing, but not protocol level tracing, the CCI.INI file would need to contain the following
[ccitrace-base] force_trace_on=yes protocol_trace=no data_trace=yes
Note that if trace options have been specified via a CCITRACE environment variable they will take precedence over any trace options specified in the CCI.INI file.