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
>