On the Windows machine, launch the "ODBC Data Source Administrator" and follow the steps below to enable ODBC trace logging:
(1) Navigate to the Tracing tab in the ODBC Data Source Administrator.
(2) Enter the name of the log file that the file will be saved as (eg: D:\tmp\foo.log)
(3) Select the check box that states "All users will benefit from machine-wide tracking"
(4) To start tracing, click "Start Tracing Now", then click "OK" or "Apply".
(5) Launch the client application and run tests.
(6) A trace file with the debug trace will be created at the location specified above.