Enabling ODBC driver manager tracing (UNIX and Linux®)

ODBC driver manager tracing is a method of tracking system activity. By default, driver manager tracing is disabled because enabling it can degrade performance.

Procedure

  1. In the .odbc.ini file, make the following changes in the [ODBC] section:
     Trace = 1 
     TraceAutoStop = 0 
     TraceFile = /tmp/odbctrace.out
  2. Save and close the file.
    The log file is /tmp/odbctrace.out.

What to do next

Disable tracing after troubleshooting because tracing can degrade performance.