The WINEVENT emitter is provided to allow trace records to be output to the Windows event log. By default, to prevent the event log from being filled with unnecessary information, this emitter only outputs trace records with a trace level of error or above.
To enable the WINEVENT emitter, specify the following statement in the Consolidated Tracing Facility configuration file:
mftrace.dest = WINEVENT
The following list shows the properties you can set to control the behavior of the WINEVENT emitter:
$(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:
|
$(THREAD) | The current operating system thread identifier. |
$(TIME) | The current time, output as hh:mm:ss.nnn. |
31323334-35363738-393A3B3C-3D3E3FThe default is 8.