Test Data Management 10.2.0
- Test Data Management 10.2.0
- 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>/serviceability/logs/tdm_%i.log.zip
|
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>serviceability/logs/tdm.log</file> <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> <FileNamePattern>serviceability/logs/tdm_%i.log.zip</FileNamePattern> <MinIndex>1</MinIndex> <MaxIndex>7</MaxIndex> </rollingPolicy> <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> <MaxFileSize>8MB</MaxFileSize> </triggeringPolicy> <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder"> <Pattern>[%d{yyyy-MM-dd HH:mm:ss.SSS}] %-5level %-28.28thread %-64.64logger{64} User:X{username} %msg %ex%n</Pattern> </encoder> </appender>
Updated July 03, 2018