TraceLog


This type is a class for model objects.

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

Package: traceservice

Classifier ID:  -1
Instance class name:  * Unspecified *
Instance class:  * Unspecified *

Reference attributes having this type:
  TraceService.traceLog



Attributes Summary
fileName : EString 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
rolloverSize : EInt 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.
maxNumberOfBackupFiles : EInt Number of history or rollover files to retain. Only applicable when the trace output type is SPECIFIED_FILE.



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: EString
    Default value:  unspecified
    Required:  false
    Changeable:  true
    Unsettable:  false
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

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: EInt
    Default value:  100
    Required:  false
    Changeable:  true
    Unsettable:  true
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

maxNumberOfBackupFiles  -  Number of history or rollover files to retain. Only applicable when the trace output type is SPECIFIED_FILE.
    Data Type: EInt
    Default value:  1
    Required:  false
    Changeable:  true
    Unsettable:  true
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false



(C) COPYRIGHT International Business Machines Corp. 1996-2006