Re: MyLog and CommLog options

From: Daniil Megrabyan <danil(dot)megrabjan(at)gmail(dot)com>
To: "Inoue, Hiroshi" <h-inoue(at)dream(dot)email(dot)ne(dot)jp>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: MyLog and CommLog options
Date: 2017-02-04 08:44:41
Message-ID: B38A8DCE-8144-4C56-AE08-685442055389@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc


> 4 февр. 2017 г., в 11:30, Inoue, Hiroshi <h-inoue(at)dream(dot)email(dot)ne(dot)jp> написал(а):
>
>> miniBagroff:odbc danilabagroff$ cat /usr/local/etc/odbc.ini
>> [pg_abra1]
>> Driver = PostgreSQL
>> Host = localhost
>> Port = 5432
>> Protocol = 6.4
>> FetchBufferSize = 99
>> Database = abra1
>> ReadOnly = no
>> MyLog = /tmp/mylog2.log
>
> Mylog isn't an option, instead try
>
> Debug = 1
>
> Possibly you will find /tmp/mylog_xxxx.
Bingo! It works for tiny example with isql when I put Debug option into odbc.ini(for DSN). Is there is any way to enable this option for all driver(in odbcinst.ini) connections? When I’m trying my real life example(with DSNless connections) the mylog, unfortunately, does not appear.

Thank you.

— Daniil A Megrabyan —

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Inoue, Hiroshi 2017-02-04 10:53:25 Re: MyLog and CommLog options
Previous Message Inoue, Hiroshi 2017-02-04 08:30:35 Re: MyLog and CommLog options