[unixODBC-support] ODBC LOG

Grupos grupos at carvalhaes.net
Sat Oct 30 20:29:00 BST 2004


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





More information about the unixODBC-support mailing list