Table of Contents

Search

  1. Preface
  2. Introduction to Dynamic Data Masking Administration
  3. Authentication
  4. Connection Management
  5. JDBC Client Configuration
  6. ODBC Client Configuration
  7. Access Control
  8. Logs
  9. High Availability
  10. Server Control
  11. Performance Tuning
  12. Troubleshooting

Administrator Guide

Administrator Guide

Configure ODBC Logging

Configure ODBC Logging

To enable logging for an application or process that uses the DDM for ODBC service, you must set an environment variable before the application or process launches.
If you can launch the application through a .bat file, add the following line to the .bat file:
SET DDM_GENODBC_LOG=<log configuration file path>
For example, you might add the following text:
SET DDM_GENODBC_LOG= C:\logs\logConfig.properties
If you cannot launch the application through a .bat file, complete the following steps before you launch the application:
  1. Define the DDM_GENODBC_LOG user-level environment variable. Set the value to the application-specific configuration file that contains the log file path and log configuration for the application. The environment variable has the following properties:
    Variable name
    DDM_GENODBC_LOG
    Variable value
    The file path of the logging configuration file for the application. For example, you might enter the following text:
    C:\DDMLoggingConfigs\ CognosLog4cxxConfig.properties
  2. Start the application and test the ODBC connectivity. Verify that odbc32.dll is used and the configuration file is read.
  3. Remove the DDM_GENODBC_LOG environment variable or delete the variable value to ensure that the variable does not affect applications that you start later.

0 COMMENTS

We’d like to hear from you!