Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cZvy2-0005Qi-EU for pgsql-odbc@arkaria.postgresql.org; Sat, 04 Feb 2017 08:45:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cZvy1-000194-Uf for pgsql-odbc@arkaria.postgresql.org; Sat, 04 Feb 2017 08:45:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cZvxf-0000io-NL for pgsql-odbc@postgresql.org; Sat, 04 Feb 2017 08:44:47 +0000 Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cZvxd-0005nh-6H for pgsql-odbc@postgresql.org; Sat, 04 Feb 2017 08:44:47 +0000 Received: by mail-wm0-x22a.google.com with SMTP id v77so61431766wmv.0 for ; Sat, 04 Feb 2017 00:44:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=uEbdLO/kJ7ObG1v35+NxZrl4kgFf5J1PsWuHCFKScrA=; b=lrWeuJtNknWTDT422SzDZTyok6253h8gAxDhmubB+gRAtPfOgkaLsPRg3yy6phBvpD WWDcXax2yY+g68QCJnewrmf0akC7IK+R+4Y8MrX5pDQNqu2ku4qvt7XytSdYlx4grSwO E7/d88gEiihabWdRXwd3UPaYGTWdCPM38ER/chcQwuuL0T8T+SE+EoL0X5eaZURPbaiM VQSTwjGH+jJueeBPlInI4JiJc4tbDTd2tQv41BQAMUwa0pA7WXAfEQxLEpIhSa9E+CG9 1cUMFtEY/o59hpaJmSOkvspUkd5/wjapBWHSKhSZnINaxtKj1QfdVcpfEYTygbmzyF23 j0cQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=uEbdLO/kJ7ObG1v35+NxZrl4kgFf5J1PsWuHCFKScrA=; b=XOns5Uo87YckT55fm22++iXzJNP0XeOZOe4nrm3cWaD+pk3FDhML8PNMx/Jt/tBX9D J7BPFgiPJB/VWwd6ZN8Qgu/1d95lVFLw/MJK3wwm8Dlf62dSovW1jwgUUOHYH1nkY/eh DR/sSE7mmufwyj1K+/UatbwNoWIwRHSLoC1837rLq0s0OdGnLUhZ4se0K013mmgJiNXn LDhAzvTF22OPEJClBvBWDtGaNtDZTWcIeLnrn2UK8pOMlbCKY5pZfp3LZQIRCKeq3ONY cMhtGmTEdUk0+0lEd1NfwBzabu5kVNELuFtPzhRkIYNS0Vc6++6qxpDv4rP9SSUrOBX1 yblQ== X-Gm-Message-State: AMke39k6t/7ae/tqJN5Xgl5t5kLF7ARJD8Yyh08R33zDcczgpDEka5FIB05XChlRu2YjHg== X-Received: by 10.28.50.135 with SMTP id y129mr1051848wmy.2.1486197883512; Sat, 04 Feb 2017 00:44:43 -0800 (PST) Received: from minibagroff.mega ([88.201.150.44]) by smtp.gmail.com with ESMTPSA id n13sm48980342wrn.40.2017.02.04.00.44.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Feb 2017 00:44:42 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: Re: MyLog and CommLog options From: Daniil Megrabyan In-Reply-To: Date: Sat, 4 Feb 2017 11:44:41 +0300 Cc: pgsql-odbc@postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <6CCB1DAA-442A-4DA5-B8D7-739CB7B24734@gmail.com> <9FDECBB3-18DD-44C0-BA1D-6191EA5F9855@gmail.com> <7C1F2298-B33F-4083-86D7-9F0F57AB1C04@gmail.com> To: "Inoue, Hiroshi" X-Mailer: Apple Mail (2.3259) X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org > 4 =D1=84=D0=B5=D0=B2=D1=80. 2017 =D0=B3., =D0=B2 11:30, Inoue, Hiroshi =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB(=D0=B0= ): >=20 >> miniBagroff:odbc danilabagroff$ cat /usr/local/etc/odbc.ini >> [pg_abra1] >> Driver =3D PostgreSQL >> Host =3D localhost >> Port =3D 5432 >> Protocol =3D 6.4 >> FetchBufferSize =3D 99 >> Database =3D abra1 >> ReadOnly =3D no >> MyLog =3D /tmp/mylog2.log >=20 > Mylog isn't an option, instead try >=20 > Debug =3D 1 >=20 > Possibly you will find /tmp/mylog_xxxx. Bingo! It works for tiny example with isql when I put Debug option into odb= c.ini(for DSN). Is there is any way to enable this option for all driver(in= odbcinst.ini) connections? When I=E2=80=99m trying my real life example(wi= th DSNless connections) the mylog, unfortunately, does not appear. Thank you. =E2=80=94 Daniil A Megrabyan =E2=80=94 --=20 Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc