How to enable debug tracing for TDV (ADS) odbc on linux (TDV v7.0)

How to enable debug tracing for TDV (ADS) odbc on linux (TDV v7.0)

book

Article ID: KB0081280

calendar_today

Updated On:

Products Versions
TIBCO Data Virtualization 7.0.0 and later

Description

After you've configured a dsn on your linux client, look for this file: <COMPOSITE_HOME>/odbc.ini 
To enable debugging, edit this file and add one of these options to the DSN entry that you want to trace:
 
traceLevel="debug"
OR
traceLevel="info"

 
debug gives you full verbosity protocol level details.
info gives you all the ODBC calls made on the driver without the protocol level info.
 

Here's an example of a trace-enabled dsn entry in the odbc.ini file

[my_sample_DSN]
Driver = /opt/Cisco_Systems/TIBCO_705_odbc/apps/odbc64/lib/libcomposite70_x64.so
host = localhost
port = 9401
sso = (Disabled)
uid = admin
pwd = 3217F78A02BBAE0B
domain = composite
dataSource = system
traceLevel = debug
traceFolder = /opt/Cisco_Systems/TIBCO_705_odbc

[ODBC]



This example DSN also includes the optional 'traceFolder' which will direct the specified path to write the output file. 
By default the output will be written to the COMPOSITE_HOME path.
(documented in our Client Interfaces Guide)

By default, the output file will be named:  <your DSN name>.log
You could optionally specify traceFile instead of traceFolder to designate both a name and path for the output file.
(documented in our Client Interfaces Guide)
 

Issue/Introduction

This discusses the odbc driver specifically for v7.0