Table of contents
TOC
Collapse the table of content
Expand the table of content

How do I change the prefix output on every trace line?

Last Updated: 11/22/2016

Use the following command to change the prefix output on every trace line:

set TRACE_FORMAT_PREFIX=[%9!d!]%8!04X!.%3!04X!::%4!s! [%1!s!] 
tracefmt -f mytracefile

For information about the TRACE_FORMAT_PREFIX parameters, see the Trace Message Prefix topic.

Send comments about this topic to Microsoft

© 2016 Microsoft