This section describes how to use the Server Option tracing facility.
Call TDSETLOG and perform these steps for global or specific tracing:
For this type of tracing |
Do this |
---|---|
Global |
If you want to enable tracing for the entire program, TDSETLOG must precede TDACCEPT. |
Specific |
|
Both global and specific |
|
You can use TDINFLOG at any time to check the value of the settings.
For each transaction for which you want trace activity, call TDSETSPT and perform these steps:
Identify the transaction.
Set the transaction trace flag to TRUE.
Set the trace options flags for the types of tracing desired.
You can enable tracing for up to eight transactions at a time.