Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aQRno-00054x-OW for pgsql-odbc@arkaria.postgresql.org; Tue, 02 Feb 2016 03:38:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aQRnn-0004Vj-Pr for pgsql-odbc@arkaria.postgresql.org; Tue, 02 Feb 2016 03:38:51 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aQRnn-0004Vc-A0 for pgsql-odbc@postgresql.org; Tue, 02 Feb 2016 03:38:51 +0000 Received: from mail2.asahi-net.or.jp ([202.224.39.198]) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1aQRnf-0003Dp-SK for pgsql-odbc@postgresql.org; Tue, 02 Feb 2016 03:38:50 +0000 Received: from [192.168.1.13] (p88007-ipngn200301fukui.fukui.ocn.ne.jp [180.17.47.7]) by mail2.asahi-net.or.jp (Postfix) with ESMTP id EEAA17642; Tue, 2 Feb 2016 12:38:37 +0900 (JST) Subject: Re: Issues with PostgreSQL ODBC on Win 10 To: Viktor Trojanovic References: <56AFC010.6090607@troja.ch> <56AFE62A.7000702@dream.email.ne.jp> <56AFF201.4000302@troja.ch> Cc: pgsql-odbc@postgresql.org From: "Inoue, Hiroshi" Message-ID: <56B024C1.30008@dream.email.ne.jp> Date: Tue, 2 Feb 2016 12:38:41 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <56AFF201.4000302@troja.ch> Content-Type: multipart/alternative; boundary="------------010407040505080209020905" X-Pg-Spam-Score: -2.6 (--) 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 This is a multi-part message in MIME format. --------------010407040505080209020905 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi Viktor, On 2016/02/02 9:02, Viktor Trojanovic wrote: > Hi Hiroshi, > > On 02.02.2016 00:11, Inoue, Hiroshi wrote: >> Hi Viktor, >> >> On 2016/02/02 5:29, Viktor Trojanovic wrote: >>> Hi, >>> >>> I'm trying to debug a third party ODBC application but I can't seem >>> to get the ODBC driver (latest version, from >>> psqlodbc_09_05_0100-x86.zip) to log anything under Windows 10. >>> >>> The check fields CommLog as well as MyLog don't seem to have any >>> effect at all. >> >> Don't Commlog or Mylog files exist in User(\Users\username) folder? >> >> regards, >> Hiroshi Inoue > > So, that's where they were hiding! They are here, and they are called > mylog_xxxx.log and psqlodbc_xxxx.log. I assume the latter is produced > by the Commlog setting. > > I guess the user interface of the driver could need some updating as > it clearly states that the logs are to be found in the root (c:\) folder. > . When the driver couldn't write logs to root folder, it tries to write logs in user folder. regards, Hiroshi Inoue --------------010407040505080209020905 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit Hi Viktor,

On 2016/02/02 9:02, Viktor Trojanovic wrote:
Hi Hiroshi,

On 02.02.2016 00:11, Inoue, Hiroshi wrote:
Hi Viktor,

On 2016/02/02 5:29, Viktor Trojanovic wrote:
Hi,

I'm trying to debug a third party ODBC application but I can't seem to get the ODBC driver (latest version,  from psqlodbc_09_05_0100-x86.zip) to log anything under Windows 10.

The check fields CommLog as well as MyLog don't seem to have any effect at all.

Don't Commlog or Mylog files exist in User(\Users\username) folder?

regards,
Hiroshi Inoue


So, that's where they were hiding! They are here, and they are called mylog_xxxx.log and psqlodbc_xxxx.log. I assume the latter is produced by the Commlog setting.

I guess the user interface of the driver could need some updating as it clearly states that the logs are to be found in the root (c:\) folder.
.  

When the driver couldn't write logs to root folder, it tries to write logs in user folder.

regards,
Hiroshi Inoue
--------------010407040505080209020905--