You can enable tracing for ODBC function calls using one of the following methods:
1. In the Windows search box, type ODBC Data Sources, then open the appropriate version of the application (32-bit or 64-bit).
2. Select the Tracing tab.
3. Optional: Update the ODBC tracing options:

4. Click Start Tracing Now.
5. Once the issue is reproduced, click Stop Tracing Now to disable tracing.
Note
You need a configured system Data Source Name (DSN). For instructions, see Configure a Windows DSN for Salesforce.
1. In the ODBC Data Source Administrator utility, on the User DSN or System DSN tab, select your DSN, then click Configure.

2. Select the Tracing tab.
3. In the Log File Path field, enter the location where you want to save the file.

4. Click Start Logging Now.
5. Optional: To verify that tracing is active, click Test Connection and check whether new entries appear in the log file.
6. Click OK.
7. Once the issue is reproduced, click Stop Logging Now to disable tracing.