unixodbc tracing

Note to self: enabling debug output for unixodbc is easy once you put the configuration lines in the right place – /etc/odbcinst.ini:

[ODBC]
Trace = Yes
TraceFile = /tmp/sql.log

Putting them into odbc.ini, as shown eg. here, does not work (at least not in Lucid Lynx).

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.