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)
- The basename of the executable invoked to start the current process. For example, if
run.exeis invoked, $(APPNAME) has the value
"run".
- $(EMITTER)
- Always "TEXTFILE" for this emitter.
- $(GEN)
- The generation of the file, starting from 1.
- $(PID)
- The operating system identifier for the current process.
- $(PLATFORM)
- A platform specific constant, useful when two run-time systems are in the same process, and you require separate trace files.
Can be one of:
- native
- For all native processes
- dotnet
- For Microsoft .NET processes
- jvm
- For JVM processes
- $(RUNUNIT)
- A unique number that represents the managed RunUnit ID (applies to .NET and JVM COBOL only).
- $(RUNUNIT_SESSIONNAME)
- The session name passed to the managed RunUnit (applies to .NET and JVM COBOL only).
- $(RUNUNIT_GUID)
- The globally unique identifier associated with the managed RunUnit (applies to .NET and JVM COBOL only).
|
$(APPNAME).$(EMITTER).$(PID).log, or
$(APPNAME).$(EMITTER).$(PID).log_$(GEN) if the MAXGENERATION property has been specified. For example:
- If the TEXTFILE emitter is being used to output trace events for
run.exe
executing as process-id 3456 and the MAXGENERATION property has not been specified, the trace file created will be called
run.textfile.3456.log
.
- If the TEXTFILE emitter is being used to output trace events for
myapp.exe
executing as process-id 1975 and the MAXGENERATION property has been set to 3, the trace files created will be called
myapp.textfile.1975.log_1,
myapp.textfile.1975.log_2, and
myapp.textfile.1975.log_3.
|
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:
-
$(COMPONENT)
- The name of the component outputting the trace event.
-
$(DATA)
- The trace data specified by the component to be output for the trace event. Each trace part will be delimited by the character
specified by the DELIMCHAR property.
-
$(DATE)
- The current date, output as
yyyy/mm/dd
-
$(EVENT)
- The event identifier as specified by the component outputting the trace event.
-
$(LEVEL)
- The tracing level:
- 0: debug
- 1: info
- 2: warning
- 3: error
- 4: fatal
-
$(PID)
- The current process identifier. Same as
$(PROCESS).
-
$(PROCESS)
- The current process identifier. Same as
$(PID).
- $(RUNUNIT)
- A unique number that identifies the RunUnit that relates to the trace event.
|