pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Issues with PostgreSQL ODBC on Win 10
4+ messages / 2 participants
[nested] [flat]

* Issues with PostgreSQL ODBC on Win 10
@ 2016-02-01 20:29  Viktor Trojanovic <viktor@troja.ch>
  0 siblings, 1 reply; 4+ messages in thread

From: Viktor Trojanovic @ 2016-02-01 20:29 UTC (permalink / raw)
  To: pgsql-odbc

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. But also the ODBC Admin built-in tracing doesn't work. It's 
definitely not a problem with the tracer as it traces other ODBC 
connections just fine.

Is it maybe necessary to select a custom trace DLL for this to work? Or 
is this just a bug?

Viktor

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Issues with PostgreSQL ODBC on Win 10
@ 2016-02-01 23:11  Inoue, Hiroshi <h-inoue@dream.email.ne.jp>
  parent: Viktor Trojanovic <viktor@troja.ch>
  0 siblings, 1 reply; 4+ messages in thread

From: Inoue, Hiroshi @ 2016-02-01 23:11 UTC (permalink / raw)
  To: Viktor Trojanovic <viktor@troja.ch>; +Cc: pgsql-odbc

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

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Issues with PostgreSQL ODBC on Win 10
@ 2016-02-02 00:02  Viktor Trojanovic <viktor@troja.ch>
  parent: Inoue, Hiroshi <h-inoue@dream.email.ne.jp>
  0 siblings, 1 reply; 4+ messages in thread

From: Viktor Trojanovic @ 2016-02-02 00:02 UTC (permalink / raw)
  To: Inoue, Hiroshi <h-inoue@dream.email.ne.jp>; +Cc: pgsql-odbc

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.

But in that case it's not so bad that the built-in ODBC trace isn't 
working as all the needed information is in the logs.

Thanks for the pointer!

Regards,
Viktor

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Issues with PostgreSQL ODBC on Win 10
@ 2016-02-02 03:38  Inoue, Hiroshi <h-inoue@dream.email.ne.jp>
  parent: Viktor Trojanovic <viktor@troja.ch>
  0 siblings, 0 replies; 4+ messages in thread

From: Inoue, Hiroshi @ 2016-02-02 03:38 UTC (permalink / raw)
  To: Viktor Trojanovic <viktor@troja.ch>; +Cc: pgsql-odbc

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

^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2016-02-02 03:38 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-02-01 20:29 Issues with PostgreSQL ODBC on Win 10 Viktor Trojanovic <viktor@troja.ch>
2016-02-01 23:11 ` Inoue, Hiroshi <h-inoue@dream.email.ne.jp>
2016-02-02 00:02   ` Viktor Trojanovic <viktor@troja.ch>
2016-02-02 03:38     ` Inoue, Hiroshi <h-inoue@dream.email.ne.jp>

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