Help needed to enable "MyLog" in a Linux application
Help needed to enable "MyLog" in a Linux application
От:
Abhishek Kumar <abhishek.aak0@gmail.com>
Дата:
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
Re: Help needed to enable "MyLog" in a Linux application
От:
Hunaid Sohail <hunaidpgml@gmail.com>
Дата:
Hi Abhishek,
You can add Debug = 1 in your DSN in the odbc.ini file.
Example:
[pgdsn]
//other connection properties
Debug = 1
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