[unixODBC-support] ODBC LOG

Paul Mahon dufflebunk at dufflebunk.homeip.net
Sat Oct 30 23:00:47 BST 2004


I don't know if it's the problem, but I've always used an absolute path
+ filename for my log files:
TraceFile = /tmp/sql.log

And it works for me.

On Sat, 2004-30-10 at 17:29 -0200, Grupos wrote:
> I am trying to log the ODBC conections , errors, etc to make my "debub" 
> work easier...BUT no log file is generated! What I am making wrong ?
> 
> Here are my configurations files:
> 
> /root/.odbc.ini
> [dadosadv]
> Description         = Acesso ao Microsiga
> Driver              = PostgreSQL
> Trace               = Yes
> TraceFile           = sql.log
> Database            = dadosadv
> Servername          = localhost
> UserName            = postgres
> Password            =
> Port                = 5432
> Protocol            = 6.4
> ReadOnly            = No
> RowVersioning       = No
> ShowSystemTables    = No
> ShowOidColumn       = No
> FakeOidIndex        = No
> ConnSettings        =
> 
> /etc/odbc.ini
> [dadosadv]
> Description         = Acesso ao Microsiga
> Driver              = PostgreSQL
> Trace               = Yes
> TraceFile           = sql.log
> Database            = dadosadv
> Servername          = localhost
> UserName            = postgres
> Password            =
> Port                = 5432
> Protocol            = 6.4
> ReadOnly            = No
> RowVersioning       = No
> ShowSystemTables    = No
> ShowOidColumn       = No
> FakeOidIndex        = No
> ConnSettings        =
> 
> /etc/odbcinst.ini
> [PostgreSQL]
> Description     = PostgreSQL driver for Linux & Win32
> Driver          = /usr/lib/libodbcpsql.so
> Setup           = /usr/lib/libodbcpsqlS.so
> FileUsage       = 1
> 
> Cheers,
> 
> Rodrigo Carvalhaes
> 
> 
> _______________________________________________
> unixODBC-support mailing list
> unixODBC-support at easysoft.com
> http://mail.easysoft.com/mailman/listinfo/unixodbc-support
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-support/attachments/20041030/3d1f05b1/attachment.bin>


More information about the unixODBC-support mailing list