Thread: Need help with UnixODC to Postgres
Hello all,<br /><br /> Can someone tell me how to turn the Trace "on" for generating the ODBC call traces. I have alreadymade the following changes:<br /><br /> Odbcinst.ini <br /> TraceFile = /home/user1/traceout.log<br /> Trace = yes<br/><br /> &&<br /><br /> odbc.ini<br /> Trace=1<br /> Debug=1<br /><br /><br /> Cheers, <br /> Sam <br />
ssrai@ismartpanache.com wrote: > Hello all, > > Can someone tell me how to turn the Trace "on" for generating the > ODBC call traces. I have already made the following changes: > > Odbcinst.ini > TraceFile = /home/user1/traceout.log > Trace = yes > > && > > odbc.ini > Trace=1 > Debug=1 > > > Cheers, > Sam Try odbcinst -j to ensure that you are editing the correct odbcinst.ini. Then try something like... [ODBC] Trace = 1 ForceTrace = 1 TraceFile = /tmp/sql.log -- Peter