Test Data Management
- Test Data Management 10.5.6
- All Products
Property
| Description
|
---|---|
file
| The file path for the log file with reference to the TDM installation directory.
|
FileNamePattern
| The file path and the naming convention for archived log files with reference to the TDM installation directory. Use the
%i modifier archive files by number. Use the
%d modifier to archive files by date. To save directory space, use .gz or .zip when you archive files.
For example, you might specify the following file name pattern:
<TDM installation directory>/configuration/logs/tdm_%i.log
|
MaxFileSize
| The maximum size for a log file. You can configure a file size in bytes, kilobytes, megabytes, or gigabytes. Default is 10 MB.
|
MaxIndex
| The maximum number of log files that the TDM Server will create. The TDM Server will not create more than 12 log files even if you configure a size greater than 12. Default is 4.
|
<appender name="TDM_LOG_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> <file>logs/tdm.log</file> <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> <FileNamePattern>logs/tdm_%i.log</FileNamePattern> <MinIndex>1</MinIndex> <MaxIndex>10</MaxIndex> </rollingPolicy> <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> <MaxFileSize>10MB</MaxFileSize> </triggeringPolicy> <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder"> <Pattern>[%d{yyyy-MM-dd HH:mm:ss.SSS}]\t[%logger]\t[%X{username}]\t[%X{context}]\t[%level]\t[%msg %ex]%n</Pattern> </encoder> </appender>