Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id B66042E367B for ; Thu, 13 Dec 2007 10:20:10 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 36296-01-3 for ; Thu, 13 Dec 2007 10:20:04 -0400 (AST) Received: from mx.dccnet.com (mx.dccnet.com [24.207.1.250]) by postgresql.org (Postfix) with ESMTP id 5BE652E33C8 for ; Thu, 13 Dec 2007 10:20:02 -0400 (AST) Received: from [192.168.0.13] (unverified [24.207.126.135]) by mx.dccnet.com (DCCNet Email Cluster2) with ESMTP id 89035102-1865385 for ; Thu, 13 Dec 2007 06:19:59 -0800 Message-ID: <4761403F.4010104@codebydesign.com> Date: Thu, 13 Dec 2007 06:22:55 -0800 From: Peter Harvey Organization: CodeByDesign User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1.11) Gecko/20071128 SeaMonkey/1.1.7 MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: Re: Need help with UnixODC to Postgres References: <5281.1197501443@ismartpanache.com> In-Reply-To: <5281.1197501443@ismartpanache.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 200712/19 X-Sequence-Number: 9297 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