In Adaptive Server Enterprise ODBC Driver 15.7, you can log calls to ODBC APIs without using ODBC Driver Manager tracing. This is useful when the driver manager is not used or when running on a platform that does not support tracing.
To enable this feature on Microsoft Windows, use the LOGCONFIGFILE environment variable or the Microsoft Windows registry. To enable on Linux, use LOGCONFIGFILE.
When using LOGCONFIGFILE, set the environment variable to the full path of the ODBC log’s configuration file. LOGCONFIGFILE overrides any existing registry entry.
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Sybase\ODBC] "LogConfigFile"="c:\\temp\\odbclog.properties"
To disable logging, delete or rename the LogConfigFile value.