A text trace file is the default format when a trace is run.
To control the behavior and the appearance of the file, set the following TEXTFILE emitter properties in the Consolidated Tracing Facility configuration file:
Property | Description | Default |
---|---|---|
DELIMCHAR | The character used in the output file to delimit trace data parts for a trace event. | SPACE |
FILE | The name of the trace file to be written. You can use the following pseudo-variables for the construction of the trace file
name:
|
$(APPNAME).$(EMITTER).$(PID).log, or
$(APPNAME).$(EMITTER).$(PID).log_$(GEN) if the MAXGENERATION property has been specified. For example:
|
FLUSHEVERY | The number of trace records that will be output before the file is flushed. 0 indicates that the file will never be explicitly flushed. | 1 |
FORMAT | The format to be used for each trace data record written to the file. You can use the following pseudo-variables in the format
specification:
|