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

Set the odbcLogConfig.properties Parameters

Set the odbcLogConfig.properties Parameters

You can set the log level, log file location, log file size, number of log files in the odbcLogConfig.properties file.
The file contains the following properties:
log4j.appender.ddmGenODBCFileAppender
Specifies the rolling file appender type. Not modifiable.
Default value: org.apache.log4j.RollingFileAppender
log4j.appender.ddmGenODBCFileAppender.layout
Specifies that the rolling file appender uses a pattern layout. Not modifiable.
Default value: org.apache.log4j.PatternLayout
log4j.appender.ddmGenODBCFileAppender.layout.ConversionPattern
Specifies the logging format for the file appender. Not modifiable.
Default value: =%d{MM/dd HH\:mm\:ss,SSS} %-10X{processID} %-10t %X{app}(%F:%L) %-5p - %m%n
log4j.rootLogger
Specifies the log level and the appender for the root logger. Do not change the file appender name.
You can specify the following log levels:
  • INFO. Provides information about the normal behavior of the Dynamic Data Masking Server. Information logs can include information about when a service starts or stops and when a user logs in or if the login fails.
  • DEBUG. Provides information for debugging issues, such as client connection details to the database and the Dynamic Data Masking Server, connection rule results, and original and modified requests to the database.
  • OFF. Turns off logging.
Default value: INFO, ddmGenODBCFileAppender
Example value: DEBUG, ddmGenODBCFileAppender
log4j.appender.ddmGenODBCFileAppender.File
Specifies the file name and path of the log file. Modifiable.
Default value: <Folder path>\\<File name prefix>-${processID}.log
Example value: C:\\Drive\\Work\\Log4cxx\\Aquadata-${processID}.log
When you enter the path, you must include the -${processID}.log text after the file name. In the example above, the file name is Aquadata.
log4j.appender.ddmGenODBCFileAppender.MaxFileSize
Specifies the maximum size of the log file before the logger creates a new file. Modifiable.
Default value: <Max log file size ex: 500KB, 20MB etc>
Example value: 500KB
log4j.appender.ddmGenODBCFileAppender.MaxBackupIndex
The number of backup files the appender creates before it overwrites the oldest file.
Example value: 20

0 COMMENTS

We’d like to hear from you!