Table of Contents

Search

  1. Preface
  2. Introduction to Dynamic Data Masking Administration
  3. Authentication
  4. Security
  5. Connection Management
  6. JDBC Client Configuration
  7. ODBC Client Configuration
  8. Configuration for MicroStrategy
  9. Access Control
  10. Logs
  11. High Availability
  12. Server Control
  13. Performance Tuning
  14. Troubleshooting
  15. Appendix A: Database Keywords

Administrator Guide

Administrator Guide

ODBC Logging

ODBC Logging

If you use the DDM for ODBC service, you can configure logging on the client machine to debug the Driver Manager proxy.
Dynamic Data Masking ODBC logging uses Apache log4cxx. The log4cxx library is consumed as a static library and is packed inside the Drive Manager proxy DLL to avoid conflict with the client application libraries. To enable logging, set up a user-level environment variable that points to a log4cxx configuration file.
The Dynamic Data Masking installation contains a template configuration file for ODBC logging. You can find the template in the following location:
<Dynamic Data Masking installation>\Wrappers\odbc\template.odbcLogConfig.properties
The following text is an example of an ODBC configuration file:
########## Begin of non-modifiable properties section ########## log4j.appender.ddmGenODBCFileAppender=org.apache.log4j.RollingFileAppender log4j.appender.ddmGenODBCFileAppender.layout=org.apache.log4j.PatternLayout log4j.appender.ddmGenODBCFileAppender.layout.ConversionPattern=%d{MM/dd HH\:mm\:ss,SSS} %-10X{processID} %-10t %X{app} (%F:%L) %-5p - %m%n ########## End of non-modifiable properties section ########## ########## Begin of modifiable properties section ########## #only permitted to change the log level from INFO to either OFF or DEBUG, do not modify/remove the ddmGenODBCFileAppender name. log4j.rootLogger=INFO, ddmGenODBCFileAppender #point the File property to the complete file path including the folder location and prefixing the name provided to the log file name and adding the process id as a suffix to the file name in order to support different instances of the same application running at same time. Hence, do not remove the ${processID} suffix. log4j.appender.ddmGenODBCFileAppender.File=C:\\logs\\Aquadata-${processID}.log #Specify the size of each log file for rolling purpose. log4j.appender.ddmGenODBCFileAppender.MaxFileSize=20MB #Specify the max number of bacup rolling files to maintain. log4j.appender.ddmGenODBCFileAppender.MaxBackupIndex=5 ########## End of modifiable properties section ##########

0 COMMENTS

We’d like to hear from you!