Re: Help needed to enable "MyLog" in a Linux application - Mailing list pgsql-odbc

From Hunaid Sohail
Subject Re: Help needed to enable "MyLog" in a Linux application
Date
Msg-id CAMWA6yZNSQHxOH3Ay+Ti6SY+-J0OwGdnsP_WUuN+M3RCoJACag@mail.gmail.com
Whole thread Raw
In response to Help needed to enable "MyLog" in a Linux application  (Abhishek Kumar <abhishek.aak0@gmail.com>)
List pgsql-odbc
Hi Abhishek,

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

Example: 
[pgdsn]
//other connection properties
Debug = 1


It should generate mylog in the tmp directory.

Regards,
Hunaid Sohail

On Tue, Jul 30, 2024 at 7:59 PM Abhishek Kumar <abhishek.aak0@gmail.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

pgsql-odbc by date:

Previous
From: Abhishek Kumar
Date:
Subject: Help needed to enable "MyLog" in a Linux application
Next
From: Abhishek Kumar
Date:
Subject: Need a way to configure encoding