From: Daniil Megrabyan <danil.megrabjan@gmail.com>
To: Inoue, Hiroshi <h-inoue@dream.email.ne.jp>
Cc: pgsql-odbc@postgresql.org
Subject: Re: MyLog and CommLog options
Date: Sat, 4 Feb 2017 11:44:41 +0300
Message-ID: <B38A8DCE-8144-4C56-AE08-685442055389@gmail.com> (raw)
In-Reply-To: <a821a6ec-d5ed-c6b7-3225-424cad5f7a20@dream.email.ne.jp>
References: <6CCB1DAA-442A-4DA5-B8D7-739CB7B24734@gmail.com>
<a502eca2-52d7-cb2f-a05a-d690a4184898@dream.email.ne.jp>
<9FDECBB3-18DD-44C0-BA1D-6191EA5F9855@gmail.com>
<ebed183b-2e02-3af2-2056-2b1d6e2baa01@dream.email.ne.jp>
<7C1F2298-B33F-4083-86D7-9F0F57AB1C04@gmail.com>
<a821a6ec-d5ed-c6b7-3225-424cad5f7a20@dream.email.ne.jp>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>
> 4 февр. 2017 г., в 11:30, Inoue, Hiroshi <h-inoue@dream.email.ne.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 —
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: danil.megrabjan@gmail.com, h-inoue@dream.email.ne.jp
Subject: Re: MyLog and CommLog options
In-Reply-To: <B38A8DCE-8144-4C56-AE08-685442055389@gmail.com>
References: <6CCB1DAA-442A-4DA5-B8D7-739CB7B24734@gmail.com> <a502eca2-52d7-cb2f-a05a-d690a4184898@dream.email.ne.jp> <9FDECBB3-18DD-44C0-BA1D-6191EA5F9855@gmail.com> <ebed183b-2e02-3af2-2056-2b1d6e2baa01@dream.email.ne.jp> <7C1F2298-B33F-4083-86D7-9F0F57AB1C04@gmail.com> <a821a6ec-d5ed-c6b7-3225-424cad5f7a20@dream.email.ne.jp> <B38A8DCE-8144-4C56-AE08-685442055389@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox