TraceLog

If trace output type is SPECIFIED_FILE, these settings are used to specify settings for the trace log.



 

Attributes Summary

fileName Specifies the name of the trace file to which trace output will be written.
rolloverSize Indicates the maximum size of the trace output file, in Megabytes.
maxNumberOfBackupFiles Number of history or rollover files to retain.

 

Attribute Details


fileName

Specifies the name of the trace file to which trace output will be written. Typically, using a filepath relative to the $(LOG_DIR) variable.Example value: $(LOG_DIR)/trace.log

Data type:   String
Default value:   unspecified



rolloverSize

Indicates the maximum size of the trace output file, in Megabytes. When this size is reached, the current file will be closed and renamed, then the file will be reopened. For example if trace output is configured to go to File1.txt, when the boundary is reached, the file will be closed and renamed to File1_timestamp.txt, then File1.txt will be reopened for output.

Data type:   Integer
Default value:   100



maxNumberOfBackupFiles

Number of history or rollover files to retain. Only applicable when the trace output type is SPECIFIED_FILE.

Data type:   Integer
Default value:   1