ODBC Driver for NetSuite

Enabling ODBC Tracing - ODBC Driver for NetSuite



Create an ODBC trace log on Windows

You can enable tracing of ODBC function calls using one of the following methods:

Enable tracing using ODBC Data Source Administrator

  1. Type ODBC Data Sources in the Windows search box (in versions earlier than Windows 10, open Control Panel > Administrative Tools) and choose the application of the needed bitness.
  2. Select the Tracing tab.
  3. Optional: Update the ODBC tracing options:
    • To change the default log path, specify the new path in the Log File Path field.
    • If the ODBC driver runs under a different user account, and you need to capture logs system-wide, select Machine-Wide Tracing.
    • To use a custom dynamic-link library (DLL) instead of the default Microsoft-provided one, specify the path to your DLL in the Custom Trace DLL field.
  4. Click Start Tracing Now.
  5. Once the issue is reproduced, click Stop Tracing Now to disable tracing.

Enable ODBC tracing in the driver settings

You need a configured system Data Source Name (DSN). For instructions, see Windows DSN Configuration.

  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.
© 2016-2025 Devart. All Rights Reserved. Request Support ODBC Forum Provide Feedback