Re: Help needed to enable "MyLog" in a Linux application

From: Hunaid Sohail <hunaidpgml(at)gmail(dot)com>
To: Abhishek Kumar <abhishek(dot)aak0(at)gmail(dot)com>
Cc: pgsql-odbc(at)lists(dot)postgresql(dot)org
Subject: Re: Help needed to enable "MyLog" in a Linux application
Date: 2024-07-31 04:51:59
Message-ID: CAMWA6yZNSQHxOH3Ay+Ti6SY+-J0OwGdnsP_WUuN+M3RCoJACag@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hi Abhishek,

You can add Debug = 1 in your DSN in the odbc.ini file.

Example:

*[pgdsn]//other connection propertiesDebug = 1*

It should generate mylog in the tmp directory.

Regards,
Hunaid Sohail

On Tue, Jul 30, 2024 at 7:59 PM Abhishek Kumar <abhishek(dot)aak0(at)gmail(dot)com>
wrote:

> Hi,
>
> I am working on an ODBC linux CPP application using the psqlodbc driver.
>
> I wanted to enable *MyLog *option in the application such that i can
> generate the debug logs of the driver in a file for troubleshooting.
>
> Can you please let me know how to do it and its sample format?
>
> Regards,
> Abhishek Kumar
>

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Abhishek Kumar 2024-08-06 09:31:21 Need a way to configure encoding
Previous Message Abhishek Kumar 2024-07-30 14:59:15 Help needed to enable "MyLog" in a Linux application