[unixODBC-support] ODBC LOG

Rodrigo Carvalhaes grupos at carvalhaes.net
Sat Oct 30 22:57:08 BST 2004


Hi Paul!

I tried  the file below but without succes.. no logs :-(

[dadosadv]
Description         = Microsiga
Driver              = PostgreSQL
Trace               = Yes
TraceFile           = /tmp/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        =

Paul Mahon wrote:

>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
>>
>>    
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>unixODBC-support mailing list
>>unixODBC-support at easysoft.com
>>http://mail.easysoft.com/mailman/listinfo/unixodbc-support
>>    
>>




More information about the unixODBC-support mailing list